Posted on

Why large language models aka AIs still need a human guide

According to the hype, at the very least, Large Language Models (LLMs) are starting to transforming the way we create and consume content. At most, they are threatening to rise up and wipe us humans from the planet. These powerful AI tools can generate text, translate languages, write different kinds of creative content, and answer questions in an informative way, even if they are open ended, challenging, or strange. Their potential seems limitless, promising to revolutionize industries from marketing and education to customer service and software development.

However, unleashing the full potential of LLMs requires more than just typing in a prompt. Left to their own devices, they are still prone to error, have no self-awareness or knowledge of their own limits. Like any powerful tool, they require careful guidance and direction to achieve optimal results. Simply put, we still need to tell these “wunderkinds” what we want, who we’re talking to, and how we want it said.

Before unleashing the power of an LLM, it’s crucial to define the precise purpose of the task. Are we trying to generate creative content, answer a specific question, summarize a complex document, translate a text, or write code? The purpose will significantly influence the type of prompt you use and the parameters you set. For example, a prompt designed to generate a creative story will be vastly different from one intended to summarize a scientific article. A clearly defined purpose allows the LLM to focus its processing power and generate more relevant and accurate outputs.

Understanding the target audience is also paramount. An LLM can adapt its language, tone, and style to resonate with different demographics. Consider factors like age, education level, cultural background, and level of expertise. Content aimed at children will necessitate a different approach than content intended for academics. Similarly, marketing copy for a tech-savvy audience will differ significantly from advertising targeting a general consumer base. By specifying the target audience, you enable the LLM to craft content that is engaging, persuasive, and appropriate for the intended recipients.

The desired style and tone of the output are equally important. Do you want the text to be formal or informal? Humorous or serious? Technical or accessible? These stylistic choices significantly impact the overall impression of the content. For instance, a legal document requires a formal and precise style, whereas a blog post might benefit from a more conversational and engaging tone. Providing specific instructions about the desired style ensures that the LLM generates content that aligns with the overall communication goals.

Besides purpose, audience, and style, several other factors can optimize LLM performance:

  • Specificity: Vague prompts often lead to vague outputs. The more specific your instructions, the more likely the LLM is to generate the desired result. Clearly articulate the key information, desired format, and any specific requirements.
  • Context: Providing relevant background information and context can significantly improve the accuracy and relevance of the output. This is particularly important when dealing with complex or nuanced topics.
  • Examples: Including examples of the desired output can help the LLM understand your expectations and generate similar content. This is especially helpful for tasks like creative writing or code generation.
  • Constraints: Setting constraints, such as word count, character limit, or specific keywords, can help focus the LLM’s output and ensure it meets the desired parameters.
  • Iterative Refinement: The first output from an LLM is rarely perfect. It should be treated as a draft and the prompt refined based on the initial results. This iterative process allows you to progressively improve the output and achieve the desired quality.
  • Fact-Checking and Editing: While LLMs are powerful tools, they are not infallible. It is always necessary to fact-check and edit the generated content to ensure accuracy and avoid potential errors or biases.

Because AI LLMs have no understanding of purpose, context, audience etc, it is still necessary for a human to supply these parameters

The need for Human-AI interaction, analogous to HCI (Human Computer interaction has been reviewed by Yang et al (2024).

Ma et al (2024) argue for a specific approach they call ROPE. Requirement-Oriented Prompt Engineering (ROPE) emphasizes the crucial role of precise and complete requirements in prompts, when iinteracting with Large Language Models (LLMs). It particularly for complex, customized tasks where achieving desired outcomes relies on guiding the LLM beyond its default behavior.

ROPE defines a “requirement” as a concise instruction specifying a condition or constraint on the LLM’s output (e.g., “Response is less than 100 words”). These requirements direct the LLM to deviate from its standard operations and align with the user’s specific goals. The quality of these requirements, rather than the quantity, is paramount. Accurate and complete requirements are essential, as poorly formulated ones can lead to undesirable outcomes, such as privacy breaches (omitting an “anonymize the data” requirement) or biased outputs (a vague “delete harmful content” requirement). ROPE primarily focuses on natural language requirements due to their universality and close connection to prompting, leaving exploration of multi-modal requirements for future work.

ROPE distinguishes between requirements and the broader concept of prompts. Prompts are a superset of requirements, encompassing not only user-defined requirements but also elements related to text fluency and LLM-specific prompting techniques. Requirements are user-centric and largely LLM-agnostic, reflecting consistent user goals across different models. Other prompt components, however, are more LLM-centric, varying in effectiveness depending on the specific model. ROPE posits that users should primarily focus on formulating requirements, leaving the optimisation of other prompt elements to automated tools.

The applicability of ROPE is most pronounced in “LLM-hard” tasks. These tasks demand substantial customisation, forcing the LLM to deviate significantly from its learned behaviors. Examples include multi-step processes, decision-making, or tasks requiring specific contextual knowledge. While any task can have numerous implicit requirements, explicitly articulating them becomes crucial for LLM-hard tasks where default LLM behavior is insufficient. The concept of LLM-hard tasks is dynamic, evolving with LLM advancements. ROPE is particularly relevant for “prompt programmers”—users creating reusable prompts for diverse applications—across various domains.

Mat el al (2024) report that implementing ROPE is challenging. Users often struggle to translate observations about unsatisfactory outputs into actionable requirements, grapple with determining the appropriate level of specificity, and may use overly general keywords where granular, domain-specific requirements are necessary. This highlights the need for focused training to help users recognize, prioritize, and articulate effective requirements.

Drori, & Te’eni (2024) looked at the use of AI specifically in the role of reviewing academic work. They conclude that even when humans are part of an AI-augmented reviewing process, although the opportunities are great so are the looming risks. Thinking ahead, as more and more reviewing tasks are delegated to increasingly more capable intelligent agents, the growing risks will demand highly challenging countermeasures. Similarly, as AI-augmented reviewing is integrated into extended chains of related activities, these risks may propagate through the chain, remaining undetected for longer periods, and new risks may appear. They suggest that their conclusions may also be relevant to the broader context of AI-augmented scientific work,

The rise of LLMs represents a significant shift in how we create and interact with information. These tools are not meant to replace human creativity and expertise but rather to augment and amplify them. By providing clear guidance and direction, we can harness the power of LLMs to achieve remarkable results. The future of content creation lies not in replacing humans with AI, but in fostering a collaborative partnership where human ingenuity and AI capabilities work in synergy. By understanding how to effectively guide these powerful tools, we can unlock their full potential and transform the way we communicate, learn, and create.

References

  • Drori, I., & Te’eni, D. (2024). Human-in-the-loop AI reviewing: feasibility, opportunities, and risks. Journal of the Association for Information Systems25(1), 98-109. Read it here
  • Ma, Q., Peng, W., Shen, H., Koedinger, K., & Wu, T. (2024). What you say= what you want? Teaching humans to articulate requirements for LLMs. arXiv preprint arXiv:2409.08775. Read it here
  • Yang, D., Wu, S. T., & Hearst, M. A. (2024, June). Human-AI interaction in the age of LLMs. In Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 5: Tutorial Abstracts) (pp. 34-38). Read it here