Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Introduction to LLM agents

Couger
November 28, 2024

Introduction to LLM agents

As large language models (LLMs) gain increasing attention for real-world applications, research is increasingly focusing on automating workflows through the use of agents. This presentation provides an overview of fundamental concepts related to autonomous agents and introduces a line of research that leverages LLMs for designing agents capable of real-world tasks. We discuss both classical and modern approaches to agent design and compare them to illustrate how LLMs can enhance agents' decision-making processes. Finally, we present our research on an agent system where agents engage in conversations, with their self-emotions being simulated through a series of events. Additionally, we report how these simulated emotions influence the agents' dialogue behaviors in both dyadic conversations and group discussions.

Couger

November 28, 2024
Tweet

More Decks by Couger

Other Decks in Technology

Transcript

  1. Autonomous Agent • Computational systems that sense and act autonomously

    the complex dynamics in the enviroment, and by doing so realize a set of goals or tasks for which they are designed.
  2. What are agents for? • Autonomous agents are recognized as

    a symbol of AGI. • accomplish tasks through self- directed planning and actions.
  3. Challenges and the LLM solution • Enviroment representations. • World

    knowledge comprehension. • Complexity of human-like decision making. • Appropriate actions/human-like behaviors selection.
  4. Agent Profile • The information for the role of the

    agent. • age • gender • career • Generation method • Handicrafting • LLM generation • Real-world human simulation
  5. Memory • Type • short-term: dynamics that is important for

    understanding current state and making decisions. • current conversation history • scene description • long-term: information that are important over time. • past decision-making trajectories • presets of behaviors
  6. Decision-making • Reasoning • Single-path • Chain of thought •

    Multi-path • Tree of thoughs • Feedback Planning • Environment feedback • objective in the virtual world • Human feedback • human supervision
  7. Action • Action space • Leveraging knowledge • plan •

    converse • Using external tools • call APIs • search knowledge base
  8. Recommendation • Consider both customer information and common information •

    Decompose tasks and select the best reasoning path • Execute tasks with approprite actions
  9. Agents and self-emotion simulation[6] • Creation of schedules based on

    profiles. • Generation of random events. • Analysis of self-emotions. • Communication with self- emotions. 17/33 [6]Zhang, Q., Naradowsky, J., & Miyao, Y. (2024). Self-Emotion Blended Dialogue Generation in Social Simulation Agents. arXiv preprint arXiv:2408.01633.
  10. Analysis • Positive self-emotions lead to more optimistic startegies and

    negative self-emotions lead to more pessimistic ones. 18/33
  11. Self emotion - group discussion • The self-emotion of a

    member could influence the disussion results of a group. 19/33
  12. Analysis • Agents with negative self-emotions express more personal opinions,

    leading to more disagreements. • Positive self-emotions lead to quick agreements and focus on details. 21/33
  13. A typical workflow in real world • Human supervision can

    be involved in the interaction loop to improve the performance.
  14. Conclusion • LLM agents are good approach to • real-world

    problem representation and simulation • tasks with complicated procedures and external knowledge • applications that involves self-learning and self-improvement