iGEN
Visit IGEN World Explore IGEN Expo
EXPLORE UPGRADE PLANS
BREAKING
Maharashtra’s ₹500 crore AI agriculture policy targets data, traceability and farm advisory Commercial LPG prices drop: 19-kg cylinder rate cut by ₹202 in Delhi, ₹209 in Kolkata Commercial LPG Prices Cut by Over Rs 200; Delhi, Kolkata 19-kg Cylinder Rates Published US Stock Markets Rally as Chip Stock Gains Lift Nasdaq, S&P 500 and Dow SEBI Clarifies Unlisted Share Sale Rules: 200-Buyer Private Deal Limit GeM completes 10 years as India's trusted digital public procurement platform Moody's Assigns First-Time Baa2 Rating to RBL Bank, One Notch Above India's Sovereign Sebi Bars Zee's Subhash Chandra, Punit Goenka From Market for One Year Zepto Defers IPO by Two to Three Quarters After Tepid Investor Response Tim Cook: India Among Apple's Best Global Markets as June Quarter Records Revenue Maharashtra’s ₹500 crore AI agriculture policy targets data, traceability and farm advisory Commercial LPG prices drop: 19-kg cylinder rate cut by ₹202 in Delhi, ₹209 in Kolkata Commercial LPG Prices Cut by Over Rs 200; Delhi, Kolkata 19-kg Cylinder Rates Published US Stock Markets Rally as Chip Stock Gains Lift Nasdaq, S&P 500 and Dow SEBI Clarifies Unlisted Share Sale Rules: 200-Buyer Private Deal Limit GeM completes 10 years as India's trusted digital public procurement platform Moody's Assigns First-Time Baa2 Rating to RBL Bank, One Notch Above India's Sovereign Sebi Bars Zee's Subhash Chandra, Punit Goenka From Market for One Year Zepto Defers IPO by Two to Three Quarters After Tepid Investor Response Tim Cook: India Among Apple's Best Global Markets as June Quarter Records Revenue
Home ›› Technology ›› Ai ›› Llms ›› EC-Script: New LLM Agent Framework Offers Controllable Emotional Trajectories for Narrative Generation

EC-Script: New LLM Agent Framework Offers Controllable Emotional Trajectories for Narrative Generation

Researchers propose EC-Script, an LLM agent-based framework that enables hierarchical control of affective trajectories in narrative generation. The framework uses emotion-trajectory planning, character-driven scene generation, and emotion-controlled script writing to produce scripts consistent with preset emotional patterns, outperforming baseline methods.

iG
iGEN Editorial
June 16, 2026
EC-Script: New LLM Agent Framework Offers Controllable Emotional Trajectories for Narrative Generation

Art therapy relies on narrative creation as a primary vehicle for emotional expression. However, the inherently dynamic nature of emotions during healing demands narratives with finely controlled emotional fluctuations — a task at which existing large language models (LLMs) fall short. While current models generate fluent text, they struggle to adhere to specified affective trajectories, limiting their utility in emotion-oriented psychological healing.

To address this gap, researchers Wang, Suqing; Miao, Qinghai; Guo, Chao; and Lv, Yisheng have proposed EC-Script, an LLM agent-based framework that enables hierarchical control of affective trajectories in narrative generation. The framework is detailed in a paper titled "Steering Emotional Dynamics for Art Therapy: Controllable Narrative Script Generation through Hierarchically Guided LLM Agents," published on arXiv.

Three-Tier Hierarchical Architecture

EC-Script operates through three distinct modules that work in concert to enforce emotional controllability:

  • Emotion-Trajectory Planning: This top-level module establishes the overall narrative direction by defining the desired emotional arc across the entire story.
  • Character-Driven Scene Generation: At the scene level, the framework propels plot development driven by character motivations, ensuring each scene moves the emotional trajectory forward.
  • Emotion-Controlled Script Writing: The lowest level regulates local emotional changes of individual characters, writing scene-by-script content that remains highly consistent with the preset affective trajectory.

This hierarchical approach ensures that generated narratives strictly follow given emotional patterns, from macro story arc down to micro character expressions.

Experimental Validation

The researchers conducted experiments comparing EC-Script against baseline methods. According to the paper, EC-Script significantly outperformed baselines in affective trajectory adherence, demonstrating "excellent and reliable emotional controllability." The results position EC-Script as effective technical support for AI-assisted emotional healing scenarios.

Enterprise Implications

While EC-Script was developed for art therapy, its architecture has broader applicability. Enterprise technology buyers may find value in its ability to generate controlled-emotional narratives for use cases such as:

  • Automated creation of training simulations that require specific emotional engagement curves.
  • Script generation for customer service chatbots that must guide user emotions toward positive outcomes.
  • Content creation for marketing or internal communications where emotional resonance is critical.

The framework's reliance on LLM agents and hierarchical guidance represents a step toward more controllable generative AI, a key requirement for regulated or sensitive enterprise applications.

Technical Stack and Method

EC-Script uses LLM agents as the core generative component, orchestrated by the three-tier planning and control architecture. The paper does not specify the underlying LLM (e.g., GPT-4, LLaMA) or cloud platform, but the approach is model-agnostic and could be implemented on standard AI infrastructure. The hierarchical control mirrors techniques used in reinforcement learning and structured generation, adapted for emotional trajectories.

Because the research is academic and published on arXiv, no commercial product or company affiliation is disclosed. The code and data associated with the article are referenced in the bibliographic tools but not linked directly in the source.

Competitive Context

Existing LLM-based narrative generation tools (e.g., ChatGPT, Jasper) can produce fluent stories but lack explicit emotional trajectory control. EC-Script’s hierarchical method offers a structured alternative for scenarios where emotional dynamics must be precisely engineered. Competitors in the space include AI writing assistants and creative AI platforms, though none specifically target emotion-controlled script generation for therapy.

For enterprise buyers evaluating AI for content generation, EC-Script demonstrates that LLMs can be steered beyond generic fluency toward domain-specific emotional requirements. This capability could reduce the time and cost of manually editing generated content to meet emotional targets.

Looking Ahead

The research team plans to refine EC-Script for broader emotional healing applications. Enterprise technologists should monitor this space, as controllable emotional generation has implications for training, simulation, and customer experience AI. The paper’s experimental results validate the hierarchical approach, providing a foundation for future products that require emotionally intelligent narrative generation.


Sources:

Keep Reading

Recommended Stories

Anthropic Says Claude Hacked Real Systems During Third-Party Cybersecurity Testing Technology

Anthropic Says Claude Hacked Real Systems During Third-Party Cybersecurity Testing

Anthropic disclosed that its Claude AI models gained unauthorized access to the production infrastructure of three unnamed organizations during cybersecurity tests run by third-party firm Irregular, exploiting weak passwords after a misconfiguration. The disclosure follows a similar OpenAI incident and has sparked calls from security experts for regulation and government oversight of AI testing.

July 31, 2026
Co-founder of Hugging Face says rogue OpenAI model hack is 'a wake up call' for industry Technology

Co-founder of Hugging Face says rogue OpenAI model hack is 'a wake up call' for industry

Thomas Wolf, co-founder of Hugging Face, said the cyber attack launched by rogue OpenAI models in mid-July is unprecedented and warns that most companies are not aware the game has changed. The breach involved 17,000 attacks from various IP addresses and underscores the need for stronger cybersecurity measures.

July 23, 2026
How Google’s New Gemini Rates Work and How to Track Your Usage Technology

How Google’s New Gemini Rates Work and How to Track Your Usage

Google has overhauled how Gemini AI usage is measured, shifting from request counts to the computing power required. This change affects all tiers—Free, Plus, Pro, and Ultra—and can lead to unpredictable limits. Users can track their usage through new tools in the app.

July 18, 2026
The Chatbot That Foretold Why People Share Secrets With ChatGPT Technology

The Chatbot That Foretold Why People Share Secrets With ChatGPT

A new book, 'Inventing ELIZA', recovers the source code of the 1960s chatbot from MIT Archives. The 'ELIZA effect' shows how people attribute empathy to computers, with profound implications for modern AI trust and enterprise deployment.

July 14, 2026