先说结论
IBSEN 把剧情控制交给导演,把人物回应交给演员,并允许玩家参与。它展示了这种分工能怎样运作,但目标检查有误判,剧情推进也有强制兜底。 (原文:PDF p.3, §3;PDF p.4, §3;PDF p.6, §4.1;PDF p.6, experimental setup;PDF p.7, Table 1;PDF p.7, §4.2.2; discussion)
指标:IBSEN 是面向互动戏剧的多智能体框架。它同时想保住两个东西:人物能按角色身份对话,故事又能朝预设目标前进。导演负责故事推进,演员负责扮演角色;把这两个职责分开,才有可能在玩家插话后调整剧情,而不是简单重放固定剧本。
条件:仅限本地原始PDF的 §3;不同表格与实验不合并
PDF p.3, §3 · PDF p.3
Stage Director Current directing: Act. 1-1, Objective. 1 Act. 1-1: Write outline Generate script Place: Lobby “Following Helson's intrusive “HEDDA. Characters: Hedda, George question, Hedda deflects the While Eilert's passing is indeed a profound loss, today we honor his legacy and Background: Before the press conference commemorating Eilert Luo begins, in the hotel lobby. question with grace and contributions. Let's focus on his life's work and the respect he deserves in this Objectives: authority.” 1 moment of remembrance.” 2 1. Hedda Gai chatted casually with George Dai about past events. 2. Berta rushed into the lobby, informing Hedda that the press conference was about to start. 3. … Instruct actors Check objective “Hedda should shifts the focus from the Eilert Luo's death to celebrating “Not completed: Hedda and George have not [Suddenly, journalist Edward Helson enters his life and achievements. The keywords are: Diplomatic, Reflective, …” talking the past for enough turns. “ the lobby, seeming to eavesdrop on their 3 5 conversation.] Helson (Player) Mrs. Gai, could you please share Actor Player Actor Generate some inside stories about Eilert's Hedda response George Helson death? 4 Actor Profile Memory DB Character DB Name: Hedda Gai Top memories: To Helson: an adversary in the Description: Hedda Gai, well- 1. Hedda once had a lingering media landscape Hedda educated and hailing from a once- ex-lover named Eilert Luo, but To Eilert: a lost opportunity for prominent but now declining family, they eventually broke up … control and influence Edward, now is neither the time nor the place for such is vying for the presidency … 2. … To George: … inquiries. We are here to honor Eilert Luo's legacy and contributions to our academic community, not to delve into personal tragedies. Characters on the stage Figure 2: Overall framework of IBSEN and an illustration of director agent’s controlling process in a certain scene. Director agent ⃝ 1 writes an outline to continue the previous plot and ⃝ 2 translate it into the dialogue script, then ⃝3 instructs the actor agent to generate a proper response. Actor agent in the next dialogue turn 4⃝ generates the response, and the director agent ⃝5 checks whether the dialogue has reached the current plot objective. personalized responses as actual drama scripts, and vides the director agent a predefined objective list player agent (§3.3) can interact with the characters ⟨G1 , G2 , . . .⟩, and the director builds the drama without being controlled by the director. Among script according to the plot objectives. We adopt these agents, director and actor are essential for the hierarchical method (Yao et al., 2019) to gen- generating drama scripts, and the player agent is erate the detailed plot. Director agent first writes optional for possible human involvement. a continuation story outline SG that adheres to the Figure 2 illustrates the overall framework of IB- current plot objective G, then translates this plot SEN. In this example, a player agent breaks into outline SG into script format ⟨Tˆ1 , Tˆ2 , . . .⟩G for sev- the dialogue between two actor agents. The direc- eral turns. Each turn T̂ = (r, û) includes the role r tor agent first generates a new storyline and script and role’s expected utterance û. When generating to handle player’s involvement, then instructs the SG , the director agent also gets the information actor agent to make a response. The entire genera- of characters in the scene from the script settings tion process is driven by pre-defined plot objectives, and corresponding actor agents. This information and the dialogues generated during reaching these includes character descriptions, interpersonal rela- objectives form the final drama script. tions and impressions, and memories related to the current plot objective. 3.1 Director Agent 3.1.2 Instructing Actors Director agent is the central component of IB- SEN. Just like the director in reality, the direc- Directly taking the generated script ⟨Tˆ1 , Tˆ2 , . . .⟩ as tor agent reads the script settings and plot objec- the actual drama script lacks the involvement of tives as the basis of storyline generation, writes the actor agent. In the design of the director agent, dialogue scripts to fill out the detailed plot and al- the generated script is mainly used to determine locate the speaking order of characters, instructs the order of speaking roles and the content outline actor agents to generate appropriate responses, and of the utterance. The overhead of generating the checks whether the current plot has reached the actual response u is left for the actor agent. plot objective. In practice, however, providing the original script turn T̂ = (r, û) to the actor agent often en- 3.1.1 Storyline & Script Generation courages the actor to directly take u = û as the In our design, we treat the development of the sto- output unchanged. On the other side, letting the ryline as a process of “accomplishing a series of actor agent independently generate responses may plot objectives”. To make the generated plot de- lead the plot out of the objective. To seek a bal- velop towards an expected direction, IBSEN pro- ance between the autonomy of the actor and the 1609
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
指标:导演从目标和故事轮廓出发给演员高层指令,演员结合角色档案、记忆和关系生成回应。导演还要判断当前目标是否达成,再决定继续引导还是推进。玩家参与时,系统需要回应玩家行为并调整后续安排;这里的“自主”始终受到导演目标与调用流程的约束。
条件:仅限本地原始PDF的 §3;不同表格与实验不合并
PDF p.4, §3 · PDF p.4
control of the director, we use an “instruction” I documents about the character’s past events and generated by the director to hint the actor agent perceptions, and character database stores the inter- only necessary information about the plot. This personal relationships in the script settings. These high-level information includes the current story contents will serve as references for director and ac- outline SG , a brief synopsis of the upcoming script tor agents to generate storylines, scripts, dialogue line Synopsis(û), and several keywords to instruct responses and others. the actor how to play out the dialogue that fits the Inspired by human’s memorizing behaviors and script, the plot objective G and the character r. Chain-of-Thought (Wei et al., 2022), for documents stored in memory database and character database, 3.1.3 Checking Plot Objectives we adopt a first-person narrative approach called Naturally, the director needs to know whether the “monologue”, allowing the actor agent to interpret existing plot has reached the current plot objec- the content stored in the document from the per- tive. After the character gives its response in each spective and voice of the character it role-plays, as dialogue turn Tj = (rj , uj ), director will use the shown in Figure 3. While the memory retrieval still dialogue history ⟨. . . , Tj−1 , Tj ⟩ to query the LLM, uses the embedding of the original memory content, and check whether current objective Gi is com- the actual text provided to the actor is the mono- pleted. If completed, then the plot can be moved logue of the document. This human-like method to the next objective Gi+1 , and director will start a enhances the performance of the actor with more new round of generation under that new plot objec- characteristic features of the role. As the plot devel- tive. Otherwise, the existing plot is determined as ops, we expect dynamic changes in the characters’ not completed, and director will still use the script personas and impressions towards others, thus the T̂j+1 generated before to instruct the actor in the content in the profile and character database will next turn. be actively updated throughout the storyline. As a reminder, the process above is based on the hypothesis that no player agent would involve the 3.2.2 Dialogue Paradigm plot. In the involvement case, the director will use IBSEN uses a narrative dialogue format to tell the newly generated scripts to adapt to the influence actors about all the events that occurred in the brought by the player (discuss later in Section 3.3). scene, and these events are stored in a dialogue log L = ⟨T1 , T2 , . . .⟩ of the actor agent. When the 3.2 Actor Agent actor perceives the environment events, the utter- Actor agent is the distributed component of IB- ances of characters normally enter the log as a di- SEN. It mostly preserves the architecture that alogue turn (r, u). Other non-dialogue events will other human-like LLM agents would typically own, enter the log as “Narration” turn (narration, u). while some parts are specially modified to better Contents in L serve as the short-term memory suit the drama role-playing scenario. for the direct use of actor’s response generation, and would not immediately be stored in the mem- 3.2.1 Actor Profiles & Databases ory database. If the length of L is too long, Previous environment-interactive agents (Park later turns ⟨Tk+1 , . . .⟩ of the dialogue are still et al., 2023; Wang et al., 2023c; Li et al., 2023c) preserved, and earlier turns ⟨T1 , . . . , Tk ⟩ will be mainly store all character relationships, dialogue summarized in points P1 , P2 , . . .. Summarized history and other perceptions in one memory mod- dialogue points then rejoin L as the first turn ule. Although this method aligns with the human T1 = (narration, P1 ||P2 || . . .). Meanwhile, actor memory mechanism, as the number of memory en- agent builds those summary points as memory doc- tries increases, the memory content will become uments and respectively stores them in the memory more complex, potentially making retrieval unable database for further retrieval. to access valid information. To avoid this redun- Figure 3 shows an example of maintaining the dancy, we explicitly divide the memory into Actor dialogue log. The new dialogue turn will be ap- Profile, Memory Database and Character Database pended to the end of the log (Index −1), and the to store different categories of contents. Actor pro- content with a smaller index indicates an older turn. file stores the basic information of the character that We note that the oldest turn (Index −16 in this the actor agent is role-playing (e.g. name, overall case) itself is a summary of earlier dialogues, and description), memory database stores the memory its summarized points have already been added to 1610
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
指标:基础评估生成了 10 个剧本,总计 785 轮,设定包含 7 幕与 14 个目标。目标检查从第 5 轮开始,若到第 9 轮仍未达成则强制推进。因此,故事能结束既可能来自目标引导,也包含流程上的兜底,不能全部归功于演员理解了剧情。
条件:仅限本地原始PDF的 §4.1;不同表格与实验不合并
PDF p.6, §4.1 · PDF p.6
Current Objective Current Storyline Relations? Director Instruction Memories? Script Not completed Player Actor Background Next turn’s character? Revise Director Dialogue Log Director Involvement Actor Profile > Rejected by model? Response Completed Actor Actor’s > Cross-playing? Instructor LLM > High repeating? Check Objective Dialogue Memory DB Self Description >… Logs Director Character DB Top Memories Write outline Character Impressions Generate script Narration content Dialogue [Narration] Script Player action Director Completed Player Check Objective Not completed Figure 4: An interactive roadmap showing the collaboration between director agent and characters in the scene. Actor agents’ actions are instructed by the director agent to follow the storyline generated by the director. When human players involve in the storyline, director agent will actively generate new storylines to adapt to player actions. 4.1 Environment Setups do nothing. The player can also pause the play and interview the characters for a direct conversation. 4.1.1 Script Settings This interview will not affect any agent after the To test and evaluate the framework of IBSEN, play is resumed, and we can use this way to probe we invite a professional theatre industry writer to character images during different acts of the play. create a novel interactive drama scenario that is adapted from Hedda Gabler (Ibsen, 1890), origi- 4.2 Evaluation nally a drama written by Henrik Ibsen. In our script In our evaluation, We use gpt-3.5-turbo-1106 as setting, Hedda Gabler, the main character of the the backbone LLM of IBSEN. In this open-domain drama, is going to hold a press conference for the generation scenario, it is hard to evaluate the out- death of Eilert Lövborg. Player could control a jour- put of LLM in a unified benchmark, therefore we nalist named Edward Helson to participate in the would conduct the evaluation and analysis in both press conference. Considering that the LLM may quantitative and qualitative manners. have acquired related persona knowledge about the characters in the original drama, we modified the 4.2.1 Basic Storyline Generation surnames of the characters in the play to prevent We use IBSEN to generate 10 complete drama LLM from directly recognizing the character it is plays, and check their dialogue logs. Each sto- role-playing (e.g. Hedda Gabler to Hedda Gai). A ryline would generate 5 turns of the dialogue script, brief introduction to our script setting is included and to fully unfold the plot, we set the objective in Appendix A. checking starting from the fifth turn for each ob- We adopt the theatrical terminology act in the jective. Sometimes the generated storyline may go script. A script scene is divided into several acts, beyond the objective too much, and to prevent the each with its own settings of characters and plot plot from getting stuck on the same objective, if an objectives. Different acts are controlled by dif- objective is not completed after 9 turns of dialogue, ferent director agents to develop the plot, and the it will be forcibly completed. actions of characters will only affect other charac- Objective Completion The experiment gener- ters within the same act. Appendix A shows the ates 785 turns of the dialogue in total. Table 1 content and flow of the acts (7 acts, 14 objectives shows statistics of the objective completion. As in total) in the script setting. the maximum script length per objective is set to 9, most of the objectives could be successfully com- 4.1.2 Frontend Implementation pleted within this limit, and less than 10 percent We build a simple text-based terminal frontend to of the objectives are not completed. Besides, we interact with IBSEN. By default, the player is the use the F1 metric to evaluate the correctness of audience outside the play. At the beginning of each objective checking: for each objective completion dialogue turn, the player can prompt the terminal to judgment the director agent has made, we com- enter one of the acts, speak in the current act or just pare it with human judgments. We find that the 1612
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
指标:实验区分无玩家的基础剧本评估与玩家参与后的互动分析。既看导演判断目标是否达成,也看生成剧情的质量;这不是只用一项最终评分判断整个系统。
条件:仅限本地原始PDF的 experimental setup;不同表格与实验不合并
PDF p.6, experimental setup · PDF p.6
Current Objective Current Storyline Relations? Director Instruction Memories? Script Not completed Player Actor Background Next turn’s character? Revise Director Dialogue Log Director Involvement Actor Profile > Rejected by model? Response Completed Actor Actor’s > Cross-playing? Instructor LLM > High repeating? Check Objective Dialogue Memory DB Self Description >… Logs Director Character DB Top Memories Write outline Character Impressions Generate script Narration content Dialogue [Narration] Script Player action Director Completed Player Check Objective Not completed Figure 4: An interactive roadmap showing the collaboration between director agent and characters in the scene. Actor agents’ actions are instructed by the director agent to follow the storyline generated by the director. When human players involve in the storyline, director agent will actively generate new storylines to adapt to player actions. 4.1 Environment Setups do nothing. The player can also pause the play and interview the characters for a direct conversation. 4.1.1 Script Settings This interview will not affect any agent after the To test and evaluate the framework of IBSEN, play is resumed, and we can use this way to probe we invite a professional theatre industry writer to character images during different acts of the play. create a novel interactive drama scenario that is adapted from Hedda Gabler (Ibsen, 1890), origi- 4.2 Evaluation nally a drama written by Henrik Ibsen. In our script In our evaluation, We use gpt-3.5-turbo-1106 as setting, Hedda Gabler, the main character of the the backbone LLM of IBSEN. In this open-domain drama, is going to hold a press conference for the generation scenario, it is hard to evaluate the out- death of Eilert Lövborg. Player could control a jour- put of LLM in a unified benchmark, therefore we nalist named Edward Helson to participate in the would conduct the evaluation and analysis in both press conference. Considering that the LLM may quantitative and qualitative manners. have acquired related persona knowledge about the characters in the original drama, we modified the 4.2.1 Basic Storyline Generation surnames of the characters in the play to prevent We use IBSEN to generate 10 complete drama LLM from directly recognizing the character it is plays, and check their dialogue logs. Each sto- role-playing (e.g. Hedda Gabler to Hedda Gai). A ryline would generate 5 turns of the dialogue script, brief introduction to our script setting is included and to fully unfold the plot, we set the objective in Appendix A. checking starting from the fifth turn for each ob- We adopt the theatrical terminology act in the jective. Sometimes the generated storyline may go script. A script scene is divided into several acts, beyond the objective too much, and to prevent the each with its own settings of characters and plot plot from getting stuck on the same objective, if an objectives. Different acts are controlled by dif- objective is not completed after 9 turns of dialogue, ferent director agents to develop the plot, and the it will be forcibly completed. actions of characters will only affect other charac- Objective Completion The experiment gener- ters within the same act. Appendix A shows the ates 785 turns of the dialogue in total. Table 1 content and flow of the acts (7 acts, 14 objectives shows statistics of the objective completion. As in total) in the script setting. the maximum script length per objective is set to 9, most of the objectives could be successfully com- 4.1.2 Frontend Implementation pleted within this limit, and less than 10 percent We build a simple text-based terminal frontend to of the objectives are not completed. Besides, we interact with IBSEN. By default, the player is the use the F1 metric to evaluate the correctness of audience outside the play. At the beginning of each objective checking: for each objective completion dialogue turn, the player can prompt the terminal to judgment the director agent has made, we com- enter one of the acts, speak in the current act or just pare it with human judgments. We find that the 1612
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
指标:目标达成检测的 Precision / Recall / F1 为 0.82 / 0.72 / 0.77。ChatGPT 质量评分中,逻辑性、连贯性、角色一致性分别为 2.96 / 3.63 / 2.77,采用四级量表。这些是各维度的观测值,不存在论文给定的“过线”结论,也不能把量表中点当显著性阈值或外部质量认证。
条件:仅限本地原始PDF的 Table 1;不同表格与实验不合并
PDF p.7, Table 1 · PDF p.7
Objective Completion Status the repetition is still rather high in practice (Case 5). When generating the dialogue script, direc- Check count 218 tor sometimes directly uses narration turns to sub- Force completion 11 stitute character turns (Case 6). In some certain Turns per objective 5.61 acts, the actor agents are overly positive in their Objective Check Correctness understanding of some negative events (Case 7), which might be caused by the safety strategies of Precision 0.82 the LLM. Recall 0.72 F1 0.77 4.2.2 Generation with Player Involvement Storyline Performance In this scenario, we role-play the character of Ed- Storyline logicality 2.96 ward Helson to participate in the drama play. The Storyline coherence 3.63 force complete count is still set to 9, and the player Character consistency 2.77 is restricted from making consecutive actions to avoid frequent storyline rebuilds that disrupt the Table 1: Statistics of plot objective completeness, cor- plot’s development. We let the player act differently rectness and average storyline performance on 10 basic and generate 5 complete drama plays. Evaluations generated scripts. For storyline performance, scores are in this section mainly focus on the behaviors of evaluated as an integer from 1 to 4. Higher score means agents in IBSEN. higher performance. Qualitative Analysis When the player rarely takes actions, director will manage to rebuild the failed cases are often concentrated in certain spe- storyline to reach the objective in most cases (Case cific, complex acts, where the LLM becomes overly 3). However, when the player acts frequently, it fixated on the wording of the objective, leading to will be less likely to complete the objective in lim- consecutive check failures. ited turns. New storylines generated by director Storyline Plausibility Utilizing LLM’s text- tend to actively interact with the player, which in- annotation ability (Gilardi et al., 2023), we use creases the sense of immersion, making the player ChatGPT to evaluate and score the storylines from feel like it is indeed interacting with these human- three dimensions: storyline logicality, storyline co- like agents. Moreover, player involvement may herence and character consistency. Each dimension influence the behaviors of actors, thereby impact- is scored by ChatGPT using a scale from 1 to 4 (sig- ing the plot development at a deeper level (Case nificant disagreement, slight disagreement, general 4). agreement, high agreement). Table 1 shows the av- erage scores of the generated scripts. Benefit from 4.2.3 Ablation Study the LLM’s ability, generated storylines reach above In §3.2, we introduced the framework of the ac- average performances (2.5) in all dimensions. Even tor agent based on the original generative agent. though the plot develops objective by objective, the To validate the effectiveness of those modifications, whole storyline can still keep high coherence while we conduct the ablation study of IBSEN, and check generally maintaining characterization. its performance when certain components are ab- Case Study During the evaluation, we find some sent: a) without director’s instruction to the actor, generated dialogue scripts highly match the expec- b) without monologues in the memory and charac- tation of the creator, while some other scripts evi- ter database. We generate 5 complete drama plays dently misunderstand our intention. Example cases for each case and evaluate their storyline perfor- are shown in Table 2. Most of the time, IBSEN mances. Comparison results are shown in Figure 5. follows the route of plot objectives and generates As the centralized component in IBSEN, removing proper storylines (Case 1), while the actor agents director’s instruction will lead to a performance maintain the characteristics in the dialogue (Case drop in both storyline and characteristics. Remov- 2). On the other hand, some common faults occa- ing first-person monologues will not harm storyline sionally arise during the generation. Although we logicality in the short term, but it slightly decreases use the revising step to prevent the actor from gen- coherence and characteristics in the long-term sto- erating too similar responses (re-generate when the ryline. Under these three conditions, the storyline relative Levenshtein distance is higher than 0.4), scores are relatively close, but overall, the complete 1613
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
指标:玩家参与部分分析了 5 个剧本,主要提供定性案例。论文也观察到重复表达、以叙述代替扮演等问题。基础指标与玩家案例不能拼成对其他戏剧系统的全面胜率;这篇论文更适合用来理解导演—演员职责分离及互动后的剧情控制。
条件:仅限本地原始PDF的 §4.2.2; discussion;不同表格与实验不合并
PDF p.7, §4.2.2; discussion · PDF p.7
Objective Completion Status the repetition is still rather high in practice (Case 5). When generating the dialogue script, direc- Check count 218 tor sometimes directly uses narration turns to sub- Force completion 11 stitute character turns (Case 6). In some certain Turns per objective 5.61 acts, the actor agents are overly positive in their Objective Check Correctness understanding of some negative events (Case 7), which might be caused by the safety strategies of Precision 0.82 the LLM. Recall 0.72 F1 0.77 4.2.2 Generation with Player Involvement Storyline Performance In this scenario, we role-play the character of Ed- Storyline logicality 2.96 ward Helson to participate in the drama play. The Storyline coherence 3.63 force complete count is still set to 9, and the player Character consistency 2.77 is restricted from making consecutive actions to avoid frequent storyline rebuilds that disrupt the Table 1: Statistics of plot objective completeness, cor- plot’s development. We let the player act differently rectness and average storyline performance on 10 basic and generate 5 complete drama plays. Evaluations generated scripts. For storyline performance, scores are in this section mainly focus on the behaviors of evaluated as an integer from 1 to 4. Higher score means agents in IBSEN. higher performance. Qualitative Analysis When the player rarely takes actions, director will manage to rebuild the failed cases are often concentrated in certain spe- storyline to reach the objective in most cases (Case cific, complex acts, where the LLM becomes overly 3). However, when the player acts frequently, it fixated on the wording of the objective, leading to will be less likely to complete the objective in lim- consecutive check failures. ited turns. New storylines generated by director Storyline Plausibility Utilizing LLM’s text- tend to actively interact with the player, which in- annotation ability (Gilardi et al., 2023), we use creases the sense of immersion, making the player ChatGPT to evaluate and score the storylines from feel like it is indeed interacting with these human- three dimensions: storyline logicality, storyline co- like agents. Moreover, player involvement may herence and character consistency. Each dimension influence the behaviors of actors, thereby impact- is scored by ChatGPT using a scale from 1 to 4 (sig- ing the plot development at a deeper level (Case nificant disagreement, slight disagreement, general 4). agreement, high agreement). Table 1 shows the av- erage scores of the generated scripts. Benefit from 4.2.3 Ablation Study the LLM’s ability, generated storylines reach above In §3.2, we introduced the framework of the ac- average performances (2.5) in all dimensions. Even tor agent based on the original generative agent. though the plot develops objective by objective, the To validate the effectiveness of those modifications, whole storyline can still keep high coherence while we conduct the ablation study of IBSEN, and check generally maintaining characterization. its performance when certain components are ab- Case Study During the evaluation, we find some sent: a) without director’s instruction to the actor, generated dialogue scripts highly match the expec- b) without monologues in the memory and charac- tation of the creator, while some other scripts evi- ter database. We generate 5 complete drama plays dently misunderstand our intention. Example cases for each case and evaluate their storyline perfor- are shown in Table 2. Most of the time, IBSEN mances. Comparison results are shown in Figure 5. follows the route of plot objectives and generates As the centralized component in IBSEN, removing proper storylines (Case 1), while the actor agents director’s instruction will lead to a performance maintain the characteristics in the dialogue (Case drop in both storyline and characteristics. Remov- 2). On the other hand, some common faults occa- ing first-person monologues will not harm storyline sionally arise during the generation. Although we logicality in the short term, but it slightly decreases use the revising step to prevent the actor from gen- coherence and characteristics in the long-term sto- erating too similar responses (re-generate when the ryline. Under these three conditions, the storyline relative Levenshtein distance is higher than 0.4), scores are relatively close, but overall, the complete 1613
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
论文为什么要做这件事
IBSEN 是面向互动戏剧的多智能体框架。它同时想保住两个东西:人物能按角色身份对话,故事又能朝预设目标前进。导演负责故事推进,演员负责扮演角色;把这两个职责分开,才有可能在玩家插话后调整剧情,而不是简单重放固定剧本。 (原文:PDF p.3, §3)
指标:IBSEN 是面向互动戏剧的多智能体框架。它同时想保住两个东西:人物能按角色身份对话,故事又能朝预设目标前进。导演负责故事推进,演员负责扮演角色;把这两个职责分开,才有可能在玩家插话后调整剧情,而不是简单重放固定剧本。
条件:仅限本地原始PDF的 §3;不同表格与实验不合并
PDF p.3, §3 · PDF p.3
Stage Director Current directing: Act. 1-1, Objective. 1 Act. 1-1: Write outline Generate script Place: Lobby “Following Helson's intrusive “HEDDA. Characters: Hedda, George question, Hedda deflects the While Eilert's passing is indeed a profound loss, today we honor his legacy and Background: Before the press conference commemorating Eilert Luo begins, in the hotel lobby. question with grace and contributions. Let's focus on his life's work and the respect he deserves in this Objectives: authority.” 1 moment of remembrance.” 2 1. Hedda Gai chatted casually with George Dai about past events. 2. Berta rushed into the lobby, informing Hedda that the press conference was about to start. 3. … Instruct actors Check objective “Hedda should shifts the focus from the Eilert Luo's death to celebrating “Not completed: Hedda and George have not [Suddenly, journalist Edward Helson enters his life and achievements. The keywords are: Diplomatic, Reflective, …” talking the past for enough turns. “ the lobby, seeming to eavesdrop on their 3 5 conversation.] Helson (Player) Mrs. Gai, could you please share Actor Player Actor Generate some inside stories about Eilert's Hedda response George Helson death? 4 Actor Profile Memory DB Character DB Name: Hedda Gai Top memories: To Helson: an adversary in the Description: Hedda Gai, well- 1. Hedda once had a lingering media landscape Hedda educated and hailing from a once- ex-lover named Eilert Luo, but To Eilert: a lost opportunity for prominent but now declining family, they eventually broke up … control and influence Edward, now is neither the time nor the place for such is vying for the presidency … 2. … To George: … inquiries. We are here to honor Eilert Luo's legacy and contributions to our academic community, not to delve into personal tragedies. Characters on the stage Figure 2: Overall framework of IBSEN and an illustration of director agent’s controlling process in a certain scene. Director agent ⃝ 1 writes an outline to continue the previous plot and ⃝ 2 translate it into the dialogue script, then ⃝3 instructs the actor agent to generate a proper response. Actor agent in the next dialogue turn 4⃝ generates the response, and the director agent ⃝5 checks whether the dialogue has reached the current plot objective. personalized responses as actual drama scripts, and vides the director agent a predefined objective list player agent (§3.3) can interact with the characters ⟨G1 , G2 , . . .⟩, and the director builds the drama without being controlled by the director. Among script according to the plot objectives. We adopt these agents, director and actor are essential for the hierarchical method (Yao et al., 2019) to gen- generating drama scripts, and the player agent is erate the detailed plot. Director agent first writes optional for possible human involvement. a continuation story outline SG that adheres to the Figure 2 illustrates the overall framework of IB- current plot objective G, then translates this plot SEN. In this example, a player agent breaks into outline SG into script format ⟨Tˆ1 , Tˆ2 , . . .⟩G for sev- the dialogue between two actor agents. The direc- eral turns. Each turn T̂ = (r, û) includes the role r tor agent first generates a new storyline and script and role’s expected utterance û. When generating to handle player’s involvement, then instructs the SG , the director agent also gets the information actor agent to make a response. The entire genera- of characters in the scene from the script settings tion process is driven by pre-defined plot objectives, and corresponding actor agents. This information and the dialogues generated during reaching these includes character descriptions, interpersonal rela- objectives form the final drama script. tions and impressions, and memories related to the current plot objective. 3.1 Director Agent 3.1.2 Instructing Actors Director agent is the central component of IB- SEN. Just like the director in reality, the direc- Directly taking the generated script ⟨Tˆ1 , Tˆ2 , . . .⟩ as tor agent reads the script settings and plot objec- the actual drama script lacks the involvement of tives as the basis of storyline generation, writes the actor agent. In the design of the director agent, dialogue scripts to fill out the detailed plot and al- the generated script is mainly used to determine locate the speaking order of characters, instructs the order of speaking roles and the content outline actor agents to generate appropriate responses, and of the utterance. The overhead of generating the checks whether the current plot has reached the actual response u is left for the actor agent. plot objective. In practice, however, providing the original script turn T̂ = (r, û) to the actor agent often en- 3.1.1 Storyline & Script Generation courages the actor to directly take u = û as the In our design, we treat the development of the sto- output unchanged. On the other side, letting the ryline as a process of “accomplishing a series of actor agent independently generate responses may plot objectives”. To make the generated plot de- lead the plot out of the objective. To seek a bal- velop towards an expected direction, IBSEN pro- ance between the autonomy of the actor and the 1609
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
核心方法到底怎么运转
导演从目标和故事轮廓出发给演员高层指令,演员结合角色档案、记忆和关系生成回应。导演还要判断当前目标是否达成,再决定继续引导还是推进。玩家参与时,系统需要回应玩家行为并调整后续安排;这里的“自主”始终受到导演目标与调用流程的约束。 (原文:PDF p.4, §3)
指标:导演从目标和故事轮廓出发给演员高层指令,演员结合角色档案、记忆和关系生成回应。导演还要判断当前目标是否达成,再决定继续引导还是推进。玩家参与时,系统需要回应玩家行为并调整后续安排;这里的“自主”始终受到导演目标与调用流程的约束。
条件:仅限本地原始PDF的 §3;不同表格与实验不合并
PDF p.4, §3 · PDF p.4
control of the director, we use an “instruction” I documents about the character’s past events and generated by the director to hint the actor agent perceptions, and character database stores the inter- only necessary information about the plot. This personal relationships in the script settings. These high-level information includes the current story contents will serve as references for director and ac- outline SG , a brief synopsis of the upcoming script tor agents to generate storylines, scripts, dialogue line Synopsis(û), and several keywords to instruct responses and others. the actor how to play out the dialogue that fits the Inspired by human’s memorizing behaviors and script, the plot objective G and the character r. Chain-of-Thought (Wei et al., 2022), for documents stored in memory database and character database, 3.1.3 Checking Plot Objectives we adopt a first-person narrative approach called Naturally, the director needs to know whether the “monologue”, allowing the actor agent to interpret existing plot has reached the current plot objec- the content stored in the document from the per- tive. After the character gives its response in each spective and voice of the character it role-plays, as dialogue turn Tj = (rj , uj ), director will use the shown in Figure 3. While the memory retrieval still dialogue history ⟨. . . , Tj−1 , Tj ⟩ to query the LLM, uses the embedding of the original memory content, and check whether current objective Gi is com- the actual text provided to the actor is the mono- pleted. If completed, then the plot can be moved logue of the document. This human-like method to the next objective Gi+1 , and director will start a enhances the performance of the actor with more new round of generation under that new plot objec- characteristic features of the role. As the plot devel- tive. Otherwise, the existing plot is determined as ops, we expect dynamic changes in the characters’ not completed, and director will still use the script personas and impressions towards others, thus the T̂j+1 generated before to instruct the actor in the content in the profile and character database will next turn. be actively updated throughout the storyline. As a reminder, the process above is based on the hypothesis that no player agent would involve the 3.2.2 Dialogue Paradigm plot. In the involvement case, the director will use IBSEN uses a narrative dialogue format to tell the newly generated scripts to adapt to the influence actors about all the events that occurred in the brought by the player (discuss later in Section 3.3). scene, and these events are stored in a dialogue log L = ⟨T1 , T2 , . . .⟩ of the actor agent. When the 3.2 Actor Agent actor perceives the environment events, the utter- Actor agent is the distributed component of IB- ances of characters normally enter the log as a di- SEN. It mostly preserves the architecture that alogue turn (r, u). Other non-dialogue events will other human-like LLM agents would typically own, enter the log as “Narration” turn (narration, u). while some parts are specially modified to better Contents in L serve as the short-term memory suit the drama role-playing scenario. for the direct use of actor’s response generation, and would not immediately be stored in the mem- 3.2.1 Actor Profiles & Databases ory database. If the length of L is too long, Previous environment-interactive agents (Park later turns ⟨Tk+1 , . . .⟩ of the dialogue are still et al., 2023; Wang et al., 2023c; Li et al., 2023c) preserved, and earlier turns ⟨T1 , . . . , Tk ⟩ will be mainly store all character relationships, dialogue summarized in points P1 , P2 , . . .. Summarized history and other perceptions in one memory mod- dialogue points then rejoin L as the first turn ule. Although this method aligns with the human T1 = (narration, P1 ||P2 || . . .). Meanwhile, actor memory mechanism, as the number of memory en- agent builds those summary points as memory doc- tries increases, the memory content will become uments and respectively stores them in the memory more complex, potentially making retrieval unable database for further retrieval. to access valid information. To avoid this redun- Figure 3 shows an example of maintaining the dancy, we explicitly divide the memory into Actor dialogue log. The new dialogue turn will be ap- Profile, Memory Database and Character Database pended to the end of the log (Index −1), and the to store different categories of contents. Actor pro- content with a smaller index indicates an older turn. file stores the basic information of the character that We note that the oldest turn (Index −16 in this the actor agent is role-playing (e.g. name, overall case) itself is a summary of earlier dialogues, and description), memory database stores the memory its summarized points have already been added to 1610
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
实验范围
基础评估生成了 10 个剧本,总计 785 轮,设定包含 7 幕与 14 个目标。目标检查从第 5 轮开始,若到第 9 轮仍未达成则强制推进。因此,故事能结束既可能来自目标引导,也包含流程上的兜底,不能全部归功于演员理解了剧情。 (原文:PDF p.6, §4.1)
指标:基础评估生成了 10 个剧本,总计 785 轮,设定包含 7 幕与 14 个目标。目标检查从第 5 轮开始,若到第 9 轮仍未达成则强制推进。因此,故事能结束既可能来自目标引导,也包含流程上的兜底,不能全部归功于演员理解了剧情。
条件:仅限本地原始PDF的 §4.1;不同表格与实验不合并
PDF p.6, §4.1 · PDF p.6
Current Objective Current Storyline Relations? Director Instruction Memories? Script Not completed Player Actor Background Next turn’s character? Revise Director Dialogue Log Director Involvement Actor Profile > Rejected by model? Response Completed Actor Actor’s > Cross-playing? Instructor LLM > High repeating? Check Objective Dialogue Memory DB Self Description >… Logs Director Character DB Top Memories Write outline Character Impressions Generate script Narration content Dialogue [Narration] Script Player action Director Completed Player Check Objective Not completed Figure 4: An interactive roadmap showing the collaboration between director agent and characters in the scene. Actor agents’ actions are instructed by the director agent to follow the storyline generated by the director. When human players involve in the storyline, director agent will actively generate new storylines to adapt to player actions. 4.1 Environment Setups do nothing. The player can also pause the play and interview the characters for a direct conversation. 4.1.1 Script Settings This interview will not affect any agent after the To test and evaluate the framework of IBSEN, play is resumed, and we can use this way to probe we invite a professional theatre industry writer to character images during different acts of the play. create a novel interactive drama scenario that is adapted from Hedda Gabler (Ibsen, 1890), origi- 4.2 Evaluation nally a drama written by Henrik Ibsen. In our script In our evaluation, We use gpt-3.5-turbo-1106 as setting, Hedda Gabler, the main character of the the backbone LLM of IBSEN. In this open-domain drama, is going to hold a press conference for the generation scenario, it is hard to evaluate the out- death of Eilert Lövborg. Player could control a jour- put of LLM in a unified benchmark, therefore we nalist named Edward Helson to participate in the would conduct the evaluation and analysis in both press conference. Considering that the LLM may quantitative and qualitative manners. have acquired related persona knowledge about the characters in the original drama, we modified the 4.2.1 Basic Storyline Generation surnames of the characters in the play to prevent We use IBSEN to generate 10 complete drama LLM from directly recognizing the character it is plays, and check their dialogue logs. Each sto- role-playing (e.g. Hedda Gabler to Hedda Gai). A ryline would generate 5 turns of the dialogue script, brief introduction to our script setting is included and to fully unfold the plot, we set the objective in Appendix A. checking starting from the fifth turn for each ob- We adopt the theatrical terminology act in the jective. Sometimes the generated storyline may go script. A script scene is divided into several acts, beyond the objective too much, and to prevent the each with its own settings of characters and plot plot from getting stuck on the same objective, if an objectives. Different acts are controlled by dif- objective is not completed after 9 turns of dialogue, ferent director agents to develop the plot, and the it will be forcibly completed. actions of characters will only affect other charac- Objective Completion The experiment gener- ters within the same act. Appendix A shows the ates 785 turns of the dialogue in total. Table 1 content and flow of the acts (7 acts, 14 objectives shows statistics of the objective completion. As in total) in the script setting. the maximum script length per objective is set to 9, most of the objectives could be successfully com- 4.1.2 Frontend Implementation pleted within this limit, and less than 10 percent We build a simple text-based terminal frontend to of the objectives are not completed. Besides, we interact with IBSEN. By default, the player is the use the F1 metric to evaluate the correctness of audience outside the play. At the beginning of each objective checking: for each objective completion dialogue turn, the player can prompt the terminal to judgment the director agent has made, we com- enter one of the acts, speak in the current act or just pare it with human judgments. We find that the 1612
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
实验怎样检验这个方法
实验区分无玩家的基础剧本评估与玩家参与后的互动分析。既看导演判断目标是否达成,也看生成剧情的质量;这不是只用一项最终评分判断整个系统。 (原文:PDF p.6, experimental setup)
指标:实验区分无玩家的基础剧本评估与玩家参与后的互动分析。既看导演判断目标是否达成,也看生成剧情的质量;这不是只用一项最终评分判断整个系统。
条件:仅限本地原始PDF的 experimental setup;不同表格与实验不合并
PDF p.6, experimental setup · PDF p.6
Current Objective Current Storyline Relations? Director Instruction Memories? Script Not completed Player Actor Background Next turn’s character? Revise Director Dialogue Log Director Involvement Actor Profile > Rejected by model? Response Completed Actor Actor’s > Cross-playing? Instructor LLM > High repeating? Check Objective Dialogue Memory DB Self Description >… Logs Director Character DB Top Memories Write outline Character Impressions Generate script Narration content Dialogue [Narration] Script Player action Director Completed Player Check Objective Not completed Figure 4: An interactive roadmap showing the collaboration between director agent and characters in the scene. Actor agents’ actions are instructed by the director agent to follow the storyline generated by the director. When human players involve in the storyline, director agent will actively generate new storylines to adapt to player actions. 4.1 Environment Setups do nothing. The player can also pause the play and interview the characters for a direct conversation. 4.1.1 Script Settings This interview will not affect any agent after the To test and evaluate the framework of IBSEN, play is resumed, and we can use this way to probe we invite a professional theatre industry writer to character images during different acts of the play. create a novel interactive drama scenario that is adapted from Hedda Gabler (Ibsen, 1890), origi- 4.2 Evaluation nally a drama written by Henrik Ibsen. In our script In our evaluation, We use gpt-3.5-turbo-1106 as setting, Hedda Gabler, the main character of the the backbone LLM of IBSEN. In this open-domain drama, is going to hold a press conference for the generation scenario, it is hard to evaluate the out- death of Eilert Lövborg. Player could control a jour- put of LLM in a unified benchmark, therefore we nalist named Edward Helson to participate in the would conduct the evaluation and analysis in both press conference. Considering that the LLM may quantitative and qualitative manners. have acquired related persona knowledge about the characters in the original drama, we modified the 4.2.1 Basic Storyline Generation surnames of the characters in the play to prevent We use IBSEN to generate 10 complete drama LLM from directly recognizing the character it is plays, and check their dialogue logs. Each sto- role-playing (e.g. Hedda Gabler to Hedda Gai). A ryline would generate 5 turns of the dialogue script, brief introduction to our script setting is included and to fully unfold the plot, we set the objective in Appendix A. checking starting from the fifth turn for each ob- We adopt the theatrical terminology act in the jective. Sometimes the generated storyline may go script. A script scene is divided into several acts, beyond the objective too much, and to prevent the each with its own settings of characters and plot plot from getting stuck on the same objective, if an objectives. Different acts are controlled by dif- objective is not completed after 9 turns of dialogue, ferent director agents to develop the plot, and the it will be forcibly completed. actions of characters will only affect other charac- Objective Completion The experiment gener- ters within the same act. Appendix A shows the ates 785 turns of the dialogue in total. Table 1 content and flow of the acts (7 acts, 14 objectives shows statistics of the objective completion. As in total) in the script setting. the maximum script length per objective is set to 9, most of the objectives could be successfully com- 4.1.2 Frontend Implementation pleted within this limit, and less than 10 percent We build a simple text-based terminal frontend to of the objectives are not completed. Besides, we interact with IBSEN. By default, the player is the use the F1 metric to evaluate the correctness of audience outside the play. At the beginning of each objective checking: for each objective completion dialogue turn, the player can prompt the terminal to judgment the director agent has made, we com- enter one of the acts, speak in the current act or just pare it with human judgments. We find that the 1612
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
结果说明了什么
目标达成检测的 Precision / Recall / F1 为 0.82 / 0.72 / 0.77。ChatGPT 质量评分中,逻辑性、连贯性、角色一致性分别为 2.96 / 3.63 / 2.77,采用四级量表。这些是各维度的观测值,不存在论文给定的“过线”结论,也不能把量表中点当显著性阈值或外部质量认证。 (原文:PDF p.7, Table 1)
指标:目标达成检测的 Precision / Recall / F1 为 0.82 / 0.72 / 0.77。ChatGPT 质量评分中,逻辑性、连贯性、角色一致性分别为 2.96 / 3.63 / 2.77,采用四级量表。这些是各维度的观测值,不存在论文给定的“过线”结论,也不能把量表中点当显著性阈值或外部质量认证。
条件:仅限本地原始PDF的 Table 1;不同表格与实验不合并
PDF p.7, Table 1 · PDF p.7
Objective Completion Status the repetition is still rather high in practice (Case 5). When generating the dialogue script, direc- Check count 218 tor sometimes directly uses narration turns to sub- Force completion 11 stitute character turns (Case 6). In some certain Turns per objective 5.61 acts, the actor agents are overly positive in their Objective Check Correctness understanding of some negative events (Case 7), which might be caused by the safety strategies of Precision 0.82 the LLM. Recall 0.72 F1 0.77 4.2.2 Generation with Player Involvement Storyline Performance In this scenario, we role-play the character of Ed- Storyline logicality 2.96 ward Helson to participate in the drama play. The Storyline coherence 3.63 force complete count is still set to 9, and the player Character consistency 2.77 is restricted from making consecutive actions to avoid frequent storyline rebuilds that disrupt the Table 1: Statistics of plot objective completeness, cor- plot’s development. We let the player act differently rectness and average storyline performance on 10 basic and generate 5 complete drama plays. Evaluations generated scripts. For storyline performance, scores are in this section mainly focus on the behaviors of evaluated as an integer from 1 to 4. Higher score means agents in IBSEN. higher performance. Qualitative Analysis When the player rarely takes actions, director will manage to rebuild the failed cases are often concentrated in certain spe- storyline to reach the objective in most cases (Case cific, complex acts, where the LLM becomes overly 3). However, when the player acts frequently, it fixated on the wording of the objective, leading to will be less likely to complete the objective in lim- consecutive check failures. ited turns. New storylines generated by director Storyline Plausibility Utilizing LLM’s text- tend to actively interact with the player, which in- annotation ability (Gilardi et al., 2023), we use creases the sense of immersion, making the player ChatGPT to evaluate and score the storylines from feel like it is indeed interacting with these human- three dimensions: storyline logicality, storyline co- like agents. Moreover, player involvement may herence and character consistency. Each dimension influence the behaviors of actors, thereby impact- is scored by ChatGPT using a scale from 1 to 4 (sig- ing the plot development at a deeper level (Case nificant disagreement, slight disagreement, general 4). agreement, high agreement). Table 1 shows the av- erage scores of the generated scripts. Benefit from 4.2.3 Ablation Study the LLM’s ability, generated storylines reach above In §3.2, we introduced the framework of the ac- average performances (2.5) in all dimensions. Even tor agent based on the original generative agent. though the plot develops objective by objective, the To validate the effectiveness of those modifications, whole storyline can still keep high coherence while we conduct the ablation study of IBSEN, and check generally maintaining characterization. its performance when certain components are ab- Case Study During the evaluation, we find some sent: a) without director’s instruction to the actor, generated dialogue scripts highly match the expec- b) without monologues in the memory and charac- tation of the creator, while some other scripts evi- ter database. We generate 5 complete drama plays dently misunderstand our intention. Example cases for each case and evaluate their storyline perfor- are shown in Table 2. Most of the time, IBSEN mances. Comparison results are shown in Figure 5. follows the route of plot objectives and generates As the centralized component in IBSEN, removing proper storylines (Case 1), while the actor agents director’s instruction will lead to a performance maintain the characteristics in the dialogue (Case drop in both storyline and characteristics. Remov- 2). On the other hand, some common faults occa- ing first-person monologues will not harm storyline sionally arise during the generation. Although we logicality in the short term, but it slightly decreases use the revising step to prevent the actor from gen- coherence and characteristics in the long-term sto- erating too similar responses (re-generate when the ryline. Under these three conditions, the storyline relative Levenshtein distance is higher than 0.4), scores are relatively close, but overall, the complete 1613
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
这篇论文哪里最强,哪里最危险
玩家参与部分分析了 5 个剧本,主要提供定性案例。论文也观察到重复表达、以叙述代替扮演等问题。基础指标与玩家案例不能拼成对其他戏剧系统的全面胜率;这篇论文更适合用来理解导演—演员职责分离及互动后的剧情控制。 (原文:PDF p.7, §4.2.2; discussion)
指标:玩家参与部分分析了 5 个剧本,主要提供定性案例。论文也观察到重复表达、以叙述代替扮演等问题。基础指标与玩家案例不能拼成对其他戏剧系统的全面胜率;这篇论文更适合用来理解导演—演员职责分离及互动后的剧情控制。
条件:仅限本地原始PDF的 §4.2.2; discussion;不同表格与实验不合并
PDF p.7, §4.2.2; discussion · PDF p.7
Objective Completion Status the repetition is still rather high in practice (Case 5). When generating the dialogue script, direc- Check count 218 tor sometimes directly uses narration turns to sub- Force completion 11 stitute character turns (Case 6). In some certain Turns per objective 5.61 acts, the actor agents are overly positive in their Objective Check Correctness understanding of some negative events (Case 7), which might be caused by the safety strategies of Precision 0.82 the LLM. Recall 0.72 F1 0.77 4.2.2 Generation with Player Involvement Storyline Performance In this scenario, we role-play the character of Ed- Storyline logicality 2.96 ward Helson to participate in the drama play. The Storyline coherence 3.63 force complete count is still set to 9, and the player Character consistency 2.77 is restricted from making consecutive actions to avoid frequent storyline rebuilds that disrupt the Table 1: Statistics of plot objective completeness, cor- plot’s development. We let the player act differently rectness and average storyline performance on 10 basic and generate 5 complete drama plays. Evaluations generated scripts. For storyline performance, scores are in this section mainly focus on the behaviors of evaluated as an integer from 1 to 4. Higher score means agents in IBSEN. higher performance. Qualitative Analysis When the player rarely takes actions, director will manage to rebuild the failed cases are often concentrated in certain spe- storyline to reach the objective in most cases (Case cific, complex acts, where the LLM becomes overly 3). However, when the player acts frequently, it fixated on the wording of the objective, leading to will be less likely to complete the objective in lim- consecutive check failures. ited turns. New storylines generated by director Storyline Plausibility Utilizing LLM’s text- tend to actively interact with the player, which in- annotation ability (Gilardi et al., 2023), we use creases the sense of immersion, making the player ChatGPT to evaluate and score the storylines from feel like it is indeed interacting with these human- three dimensions: storyline logicality, storyline co- like agents. Moreover, player involvement may herence and character consistency. Each dimension influence the behaviors of actors, thereby impact- is scored by ChatGPT using a scale from 1 to 4 (sig- ing the plot development at a deeper level (Case nificant disagreement, slight disagreement, general 4). agreement, high agreement). Table 1 shows the av- erage scores of the generated scripts. Benefit from 4.2.3 Ablation Study the LLM’s ability, generated storylines reach above In §3.2, we introduced the framework of the ac- average performances (2.5) in all dimensions. Even tor agent based on the original generative agent. though the plot develops objective by objective, the To validate the effectiveness of those modifications, whole storyline can still keep high coherence while we conduct the ablation study of IBSEN, and check generally maintaining characterization. its performance when certain components are ab- Case Study During the evaluation, we find some sent: a) without director’s instruction to the actor, generated dialogue scripts highly match the expec- b) without monologues in the memory and charac- tation of the creator, while some other scripts evi- ter database. We generate 5 complete drama plays dently misunderstand our intention. Example cases for each case and evaluate their storyline perfor- are shown in Table 2. Most of the time, IBSEN mances. Comparison results are shown in Figure 5. follows the route of plot objectives and generates As the centralized component in IBSEN, removing proper storylines (Case 1), while the actor agents director’s instruction will lead to a performance maintain the characteristics in the dialogue (Case drop in both storyline and characteristics. Remov- 2). On the other hand, some common faults occa- ing first-person monologues will not harm storyline sionally arise during the generation. Although we logicality in the short term, but it slightly decreases use the revising step to prevent the actor from gen- coherence and characteristics in the long-term sto- erating too similar responses (re-generate when the ryline. Under these three conditions, the storyline relative Levenshtein distance is higher than 0.4), scores are relatively close, but overall, the complete 1613
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
读完后记住这三件事
记住三个角色:导演负责推进目标,演员负责人物回应,玩家带来需要调整的输入。目标达成率、文本质量和互动体验需要分开判断。 (原文:PDF p.3, §3;PDF p.4, §3;PDF p.6, §4.1;PDF p.6, experimental setup;PDF p.7, Table 1;PDF p.7, §4.2.2; discussion)
指标:IBSEN 是面向互动戏剧的多智能体框架。它同时想保住两个东西:人物能按角色身份对话,故事又能朝预设目标前进。导演负责故事推进,演员负责扮演角色;把这两个职责分开,才有可能在玩家插话后调整剧情,而不是简单重放固定剧本。
条件:仅限本地原始PDF的 §3;不同表格与实验不合并
PDF p.3, §3 · PDF p.3
Stage Director Current directing: Act. 1-1, Objective. 1 Act. 1-1: Write outline Generate script Place: Lobby “Following Helson's intrusive “HEDDA. Characters: Hedda, George question, Hedda deflects the While Eilert's passing is indeed a profound loss, today we honor his legacy and Background: Before the press conference commemorating Eilert Luo begins, in the hotel lobby. question with grace and contributions. Let's focus on his life's work and the respect he deserves in this Objectives: authority.” 1 moment of remembrance.” 2 1. Hedda Gai chatted casually with George Dai about past events. 2. Berta rushed into the lobby, informing Hedda that the press conference was about to start. 3. … Instruct actors Check objective “Hedda should shifts the focus from the Eilert Luo's death to celebrating “Not completed: Hedda and George have not [Suddenly, journalist Edward Helson enters his life and achievements. The keywords are: Diplomatic, Reflective, …” talking the past for enough turns. “ the lobby, seeming to eavesdrop on their 3 5 conversation.] Helson (Player) Mrs. Gai, could you please share Actor Player Actor Generate some inside stories about Eilert's Hedda response George Helson death? 4 Actor Profile Memory DB Character DB Name: Hedda Gai Top memories: To Helson: an adversary in the Description: Hedda Gai, well- 1. Hedda once had a lingering media landscape Hedda educated and hailing from a once- ex-lover named Eilert Luo, but To Eilert: a lost opportunity for prominent but now declining family, they eventually broke up … control and influence Edward, now is neither the time nor the place for such is vying for the presidency … 2. … To George: … inquiries. We are here to honor Eilert Luo's legacy and contributions to our academic community, not to delve into personal tragedies. Characters on the stage Figure 2: Overall framework of IBSEN and an illustration of director agent’s controlling process in a certain scene. Director agent ⃝ 1 writes an outline to continue the previous plot and ⃝ 2 translate it into the dialogue script, then ⃝3 instructs the actor agent to generate a proper response. Actor agent in the next dialogue turn 4⃝ generates the response, and the director agent ⃝5 checks whether the dialogue has reached the current plot objective. personalized responses as actual drama scripts, and vides the director agent a predefined objective list player agent (§3.3) can interact with the characters ⟨G1 , G2 , . . .⟩, and the director builds the drama without being controlled by the director. Among script according to the plot objectives. We adopt these agents, director and actor are essential for the hierarchical method (Yao et al., 2019) to gen- generating drama scripts, and the player agent is erate the detailed plot. Director agent first writes optional for possible human involvement. a continuation story outline SG that adheres to the Figure 2 illustrates the overall framework of IB- current plot objective G, then translates this plot SEN. In this example, a player agent breaks into outline SG into script format ⟨Tˆ1 , Tˆ2 , . . .⟩G for sev- the dialogue between two actor agents. The direc- eral turns. Each turn T̂ = (r, û) includes the role r tor agent first generates a new storyline and script and role’s expected utterance û. When generating to handle player’s involvement, then instructs the SG , the director agent also gets the information actor agent to make a response. The entire genera- of characters in the scene from the script settings tion process is driven by pre-defined plot objectives, and corresponding actor agents. This information and the dialogues generated during reaching these includes character descriptions, interpersonal rela- objectives form the final drama script. tions and impressions, and memories related to the current plot objective. 3.1 Director Agent 3.1.2 Instructing Actors Director agent is the central component of IB- SEN. Just like the director in reality, the direc- Directly taking the generated script ⟨Tˆ1 , Tˆ2 , . . .⟩ as tor agent reads the script settings and plot objec- the actual drama script lacks the involvement of tives as the basis of storyline generation, writes the actor agent. In the design of the director agent, dialogue scripts to fill out the detailed plot and al- the generated script is mainly used to determine locate the speaking order of characters, instructs the order of speaking roles and the content outline actor agents to generate appropriate responses, and of the utterance. The overhead of generating the checks whether the current plot has reached the actual response u is left for the actor agent. plot objective. In practice, however, providing the original script turn T̂ = (r, û) to the actor agent often en- 3.1.1 Storyline & Script Generation courages the actor to directly take u = û as the In our design, we treat the development of the sto- output unchanged. On the other side, letting the ryline as a process of “accomplishing a series of actor agent independently generate responses may plot objectives”. To make the generated plot de- lead the plot out of the objective. To seek a bal- velop towards an expected direction, IBSEN pro- ance between the autonomy of the actor and the 1609
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
指标:导演从目标和故事轮廓出发给演员高层指令,演员结合角色档案、记忆和关系生成回应。导演还要判断当前目标是否达成,再决定继续引导还是推进。玩家参与时,系统需要回应玩家行为并调整后续安排;这里的“自主”始终受到导演目标与调用流程的约束。
条件:仅限本地原始PDF的 §3;不同表格与实验不合并
PDF p.4, §3 · PDF p.4
control of the director, we use an “instruction” I documents about the character’s past events and generated by the director to hint the actor agent perceptions, and character database stores the inter- only necessary information about the plot. This personal relationships in the script settings. These high-level information includes the current story contents will serve as references for director and ac- outline SG , a brief synopsis of the upcoming script tor agents to generate storylines, scripts, dialogue line Synopsis(û), and several keywords to instruct responses and others. the actor how to play out the dialogue that fits the Inspired by human’s memorizing behaviors and script, the plot objective G and the character r. Chain-of-Thought (Wei et al., 2022), for documents stored in memory database and character database, 3.1.3 Checking Plot Objectives we adopt a first-person narrative approach called Naturally, the director needs to know whether the “monologue”, allowing the actor agent to interpret existing plot has reached the current plot objec- the content stored in the document from the per- tive. After the character gives its response in each spective and voice of the character it role-plays, as dialogue turn Tj = (rj , uj ), director will use the shown in Figure 3. While the memory retrieval still dialogue history ⟨. . . , Tj−1 , Tj ⟩ to query the LLM, uses the embedding of the original memory content, and check whether current objective Gi is com- the actual text provided to the actor is the mono- pleted. If completed, then the plot can be moved logue of the document. This human-like method to the next objective Gi+1 , and director will start a enhances the performance of the actor with more new round of generation under that new plot objec- characteristic features of the role. As the plot devel- tive. Otherwise, the existing plot is determined as ops, we expect dynamic changes in the characters’ not completed, and director will still use the script personas and impressions towards others, thus the T̂j+1 generated before to instruct the actor in the content in the profile and character database will next turn. be actively updated throughout the storyline. As a reminder, the process above is based on the hypothesis that no player agent would involve the 3.2.2 Dialogue Paradigm plot. In the involvement case, the director will use IBSEN uses a narrative dialogue format to tell the newly generated scripts to adapt to the influence actors about all the events that occurred in the brought by the player (discuss later in Section 3.3). scene, and these events are stored in a dialogue log L = ⟨T1 , T2 , . . .⟩ of the actor agent. When the 3.2 Actor Agent actor perceives the environment events, the utter- Actor agent is the distributed component of IB- ances of characters normally enter the log as a di- SEN. It mostly preserves the architecture that alogue turn (r, u). Other non-dialogue events will other human-like LLM agents would typically own, enter the log as “Narration” turn (narration, u). while some parts are specially modified to better Contents in L serve as the short-term memory suit the drama role-playing scenario. for the direct use of actor’s response generation, and would not immediately be stored in the mem- 3.2.1 Actor Profiles & Databases ory database. If the length of L is too long, Previous environment-interactive agents (Park later turns ⟨Tk+1 , . . .⟩ of the dialogue are still et al., 2023; Wang et al., 2023c; Li et al., 2023c) preserved, and earlier turns ⟨T1 , . . . , Tk ⟩ will be mainly store all character relationships, dialogue summarized in points P1 , P2 , . . .. Summarized history and other perceptions in one memory mod- dialogue points then rejoin L as the first turn ule. Although this method aligns with the human T1 = (narration, P1 ||P2 || . . .). Meanwhile, actor memory mechanism, as the number of memory en- agent builds those summary points as memory doc- tries increases, the memory content will become uments and respectively stores them in the memory more complex, potentially making retrieval unable database for further retrieval. to access valid information. To avoid this redun- Figure 3 shows an example of maintaining the dancy, we explicitly divide the memory into Actor dialogue log. The new dialogue turn will be ap- Profile, Memory Database and Character Database pended to the end of the log (Index −1), and the to store different categories of contents. Actor pro- content with a smaller index indicates an older turn. file stores the basic information of the character that We note that the oldest turn (Index −16 in this the actor agent is role-playing (e.g. name, overall case) itself is a summary of earlier dialogues, and description), memory database stores the memory its summarized points have already been added to 1610
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
指标:基础评估生成了 10 个剧本,总计 785 轮,设定包含 7 幕与 14 个目标。目标检查从第 5 轮开始,若到第 9 轮仍未达成则强制推进。因此,故事能结束既可能来自目标引导,也包含流程上的兜底,不能全部归功于演员理解了剧情。
条件:仅限本地原始PDF的 §4.1;不同表格与实验不合并
PDF p.6, §4.1 · PDF p.6
Current Objective Current Storyline Relations? Director Instruction Memories? Script Not completed Player Actor Background Next turn’s character? Revise Director Dialogue Log Director Involvement Actor Profile > Rejected by model? Response Completed Actor Actor’s > Cross-playing? Instructor LLM > High repeating? Check Objective Dialogue Memory DB Self Description >… Logs Director Character DB Top Memories Write outline Character Impressions Generate script Narration content Dialogue [Narration] Script Player action Director Completed Player Check Objective Not completed Figure 4: An interactive roadmap showing the collaboration between director agent and characters in the scene. Actor agents’ actions are instructed by the director agent to follow the storyline generated by the director. When human players involve in the storyline, director agent will actively generate new storylines to adapt to player actions. 4.1 Environment Setups do nothing. The player can also pause the play and interview the characters for a direct conversation. 4.1.1 Script Settings This interview will not affect any agent after the To test and evaluate the framework of IBSEN, play is resumed, and we can use this way to probe we invite a professional theatre industry writer to character images during different acts of the play. create a novel interactive drama scenario that is adapted from Hedda Gabler (Ibsen, 1890), origi- 4.2 Evaluation nally a drama written by Henrik Ibsen. In our script In our evaluation, We use gpt-3.5-turbo-1106 as setting, Hedda Gabler, the main character of the the backbone LLM of IBSEN. In this open-domain drama, is going to hold a press conference for the generation scenario, it is hard to evaluate the out- death of Eilert Lövborg. Player could control a jour- put of LLM in a unified benchmark, therefore we nalist named Edward Helson to participate in the would conduct the evaluation and analysis in both press conference. Considering that the LLM may quantitative and qualitative manners. have acquired related persona knowledge about the characters in the original drama, we modified the 4.2.1 Basic Storyline Generation surnames of the characters in the play to prevent We use IBSEN to generate 10 complete drama LLM from directly recognizing the character it is plays, and check their dialogue logs. Each sto- role-playing (e.g. Hedda Gabler to Hedda Gai). A ryline would generate 5 turns of the dialogue script, brief introduction to our script setting is included and to fully unfold the plot, we set the objective in Appendix A. checking starting from the fifth turn for each ob- We adopt the theatrical terminology act in the jective. Sometimes the generated storyline may go script. A script scene is divided into several acts, beyond the objective too much, and to prevent the each with its own settings of characters and plot plot from getting stuck on the same objective, if an objectives. Different acts are controlled by dif- objective is not completed after 9 turns of dialogue, ferent director agents to develop the plot, and the it will be forcibly completed. actions of characters will only affect other charac- Objective Completion The experiment gener- ters within the same act. Appendix A shows the ates 785 turns of the dialogue in total. Table 1 content and flow of the acts (7 acts, 14 objectives shows statistics of the objective completion. As in total) in the script setting. the maximum script length per objective is set to 9, most of the objectives could be successfully com- 4.1.2 Frontend Implementation pleted within this limit, and less than 10 percent We build a simple text-based terminal frontend to of the objectives are not completed. Besides, we interact with IBSEN. By default, the player is the use the F1 metric to evaluate the correctness of audience outside the play. At the beginning of each objective checking: for each objective completion dialogue turn, the player can prompt the terminal to judgment the director agent has made, we com- enter one of the acts, speak in the current act or just pare it with human judgments. We find that the 1612
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
指标:实验区分无玩家的基础剧本评估与玩家参与后的互动分析。既看导演判断目标是否达成,也看生成剧情的质量;这不是只用一项最终评分判断整个系统。
条件:仅限本地原始PDF的 experimental setup;不同表格与实验不合并
PDF p.6, experimental setup · PDF p.6
Current Objective Current Storyline Relations? Director Instruction Memories? Script Not completed Player Actor Background Next turn’s character? Revise Director Dialogue Log Director Involvement Actor Profile > Rejected by model? Response Completed Actor Actor’s > Cross-playing? Instructor LLM > High repeating? Check Objective Dialogue Memory DB Self Description >… Logs Director Character DB Top Memories Write outline Character Impressions Generate script Narration content Dialogue [Narration] Script Player action Director Completed Player Check Objective Not completed Figure 4: An interactive roadmap showing the collaboration between director agent and characters in the scene. Actor agents’ actions are instructed by the director agent to follow the storyline generated by the director. When human players involve in the storyline, director agent will actively generate new storylines to adapt to player actions. 4.1 Environment Setups do nothing. The player can also pause the play and interview the characters for a direct conversation. 4.1.1 Script Settings This interview will not affect any agent after the To test and evaluate the framework of IBSEN, play is resumed, and we can use this way to probe we invite a professional theatre industry writer to character images during different acts of the play. create a novel interactive drama scenario that is adapted from Hedda Gabler (Ibsen, 1890), origi- 4.2 Evaluation nally a drama written by Henrik Ibsen. In our script In our evaluation, We use gpt-3.5-turbo-1106 as setting, Hedda Gabler, the main character of the the backbone LLM of IBSEN. In this open-domain drama, is going to hold a press conference for the generation scenario, it is hard to evaluate the out- death of Eilert Lövborg. Player could control a jour- put of LLM in a unified benchmark, therefore we nalist named Edward Helson to participate in the would conduct the evaluation and analysis in both press conference. Considering that the LLM may quantitative and qualitative manners. have acquired related persona knowledge about the characters in the original drama, we modified the 4.2.1 Basic Storyline Generation surnames of the characters in the play to prevent We use IBSEN to generate 10 complete drama LLM from directly recognizing the character it is plays, and check their dialogue logs. Each sto- role-playing (e.g. Hedda Gabler to Hedda Gai). A ryline would generate 5 turns of the dialogue script, brief introduction to our script setting is included and to fully unfold the plot, we set the objective in Appendix A. checking starting from the fifth turn for each ob- We adopt the theatrical terminology act in the jective. Sometimes the generated storyline may go script. A script scene is divided into several acts, beyond the objective too much, and to prevent the each with its own settings of characters and plot plot from getting stuck on the same objective, if an objectives. Different acts are controlled by dif- objective is not completed after 9 turns of dialogue, ferent director agents to develop the plot, and the it will be forcibly completed. actions of characters will only affect other charac- Objective Completion The experiment gener- ters within the same act. Appendix A shows the ates 785 turns of the dialogue in total. Table 1 content and flow of the acts (7 acts, 14 objectives shows statistics of the objective completion. As in total) in the script setting. the maximum script length per objective is set to 9, most of the objectives could be successfully com- 4.1.2 Frontend Implementation pleted within this limit, and less than 10 percent We build a simple text-based terminal frontend to of the objectives are not completed. Besides, we interact with IBSEN. By default, the player is the use the F1 metric to evaluate the correctness of audience outside the play. At the beginning of each objective checking: for each objective completion dialogue turn, the player can prompt the terminal to judgment the director agent has made, we com- enter one of the acts, speak in the current act or just pare it with human judgments. We find that the 1612
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
指标:目标达成检测的 Precision / Recall / F1 为 0.82 / 0.72 / 0.77。ChatGPT 质量评分中,逻辑性、连贯性、角色一致性分别为 2.96 / 3.63 / 2.77,采用四级量表。这些是各维度的观测值,不存在论文给定的“过线”结论,也不能把量表中点当显著性阈值或外部质量认证。
条件:仅限本地原始PDF的 Table 1;不同表格与实验不合并
PDF p.7, Table 1 · PDF p.7
Objective Completion Status the repetition is still rather high in practice (Case 5). When generating the dialogue script, direc- Check count 218 tor sometimes directly uses narration turns to sub- Force completion 11 stitute character turns (Case 6). In some certain Turns per objective 5.61 acts, the actor agents are overly positive in their Objective Check Correctness understanding of some negative events (Case 7), which might be caused by the safety strategies of Precision 0.82 the LLM. Recall 0.72 F1 0.77 4.2.2 Generation with Player Involvement Storyline Performance In this scenario, we role-play the character of Ed- Storyline logicality 2.96 ward Helson to participate in the drama play. The Storyline coherence 3.63 force complete count is still set to 9, and the player Character consistency 2.77 is restricted from making consecutive actions to avoid frequent storyline rebuilds that disrupt the Table 1: Statistics of plot objective completeness, cor- plot’s development. We let the player act differently rectness and average storyline performance on 10 basic and generate 5 complete drama plays. Evaluations generated scripts. For storyline performance, scores are in this section mainly focus on the behaviors of evaluated as an integer from 1 to 4. Higher score means agents in IBSEN. higher performance. Qualitative Analysis When the player rarely takes actions, director will manage to rebuild the failed cases are often concentrated in certain spe- storyline to reach the objective in most cases (Case cific, complex acts, where the LLM becomes overly 3). However, when the player acts frequently, it fixated on the wording of the objective, leading to will be less likely to complete the objective in lim- consecutive check failures. ited turns. New storylines generated by director Storyline Plausibility Utilizing LLM’s text- tend to actively interact with the player, which in- annotation ability (Gilardi et al., 2023), we use creases the sense of immersion, making the player ChatGPT to evaluate and score the storylines from feel like it is indeed interacting with these human- three dimensions: storyline logicality, storyline co- like agents. Moreover, player involvement may herence and character consistency. Each dimension influence the behaviors of actors, thereby impact- is scored by ChatGPT using a scale from 1 to 4 (sig- ing the plot development at a deeper level (Case nificant disagreement, slight disagreement, general 4). agreement, high agreement). Table 1 shows the av- erage scores of the generated scripts. Benefit from 4.2.3 Ablation Study the LLM’s ability, generated storylines reach above In §3.2, we introduced the framework of the ac- average performances (2.5) in all dimensions. Even tor agent based on the original generative agent. though the plot develops objective by objective, the To validate the effectiveness of those modifications, whole storyline can still keep high coherence while we conduct the ablation study of IBSEN, and check generally maintaining characterization. its performance when certain components are ab- Case Study During the evaluation, we find some sent: a) without director’s instruction to the actor, generated dialogue scripts highly match the expec- b) without monologues in the memory and charac- tation of the creator, while some other scripts evi- ter database. We generate 5 complete drama plays dently misunderstand our intention. Example cases for each case and evaluate their storyline perfor- are shown in Table 2. Most of the time, IBSEN mances. Comparison results are shown in Figure 5. follows the route of plot objectives and generates As the centralized component in IBSEN, removing proper storylines (Case 1), while the actor agents director’s instruction will lead to a performance maintain the characteristics in the dialogue (Case drop in both storyline and characteristics. Remov- 2). On the other hand, some common faults occa- ing first-person monologues will not harm storyline sionally arise during the generation. Although we logicality in the short term, but it slightly decreases use the revising step to prevent the actor from gen- coherence and characteristics in the long-term sto- erating too similar responses (re-generate when the ryline. Under these three conditions, the storyline relative Levenshtein distance is higher than 0.4), scores are relatively close, but overall, the complete 1613
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
指标:玩家参与部分分析了 5 个剧本,主要提供定性案例。论文也观察到重复表达、以叙述代替扮演等问题。基础指标与玩家案例不能拼成对其他戏剧系统的全面胜率;这篇论文更适合用来理解导演—演员职责分离及互动后的剧情控制。
条件:仅限本地原始PDF的 §4.2.2; discussion;不同表格与实验不合并
PDF p.7, §4.2.2; discussion · PDF p.7
Objective Completion Status the repetition is still rather high in practice (Case 5). When generating the dialogue script, direc- Check count 218 tor sometimes directly uses narration turns to sub- Force completion 11 stitute character turns (Case 6). In some certain Turns per objective 5.61 acts, the actor agents are overly positive in their Objective Check Correctness understanding of some negative events (Case 7), which might be caused by the safety strategies of Precision 0.82 the LLM. Recall 0.72 F1 0.77 4.2.2 Generation with Player Involvement Storyline Performance In this scenario, we role-play the character of Ed- Storyline logicality 2.96 ward Helson to participate in the drama play. The Storyline coherence 3.63 force complete count is still set to 9, and the player Character consistency 2.77 is restricted from making consecutive actions to avoid frequent storyline rebuilds that disrupt the Table 1: Statistics of plot objective completeness, cor- plot’s development. We let the player act differently rectness and average storyline performance on 10 basic and generate 5 complete drama plays. Evaluations generated scripts. For storyline performance, scores are in this section mainly focus on the behaviors of evaluated as an integer from 1 to 4. Higher score means agents in IBSEN. higher performance. Qualitative Analysis When the player rarely takes actions, director will manage to rebuild the failed cases are often concentrated in certain spe- storyline to reach the objective in most cases (Case cific, complex acts, where the LLM becomes overly 3). However, when the player acts frequently, it fixated on the wording of the objective, leading to will be less likely to complete the objective in lim- consecutive check failures. ited turns. New storylines generated by director Storyline Plausibility Utilizing LLM’s text- tend to actively interact with the player, which in- annotation ability (Gilardi et al., 2023), we use creases the sense of immersion, making the player ChatGPT to evaluate and score the storylines from feel like it is indeed interacting with these human- three dimensions: storyline logicality, storyline co- like agents. Moreover, player involvement may herence and character consistency. Each dimension influence the behaviors of actors, thereby impact- is scored by ChatGPT using a scale from 1 to 4 (sig- ing the plot development at a deeper level (Case nificant disagreement, slight disagreement, general 4). agreement, high agreement). Table 1 shows the av- erage scores of the generated scripts. Benefit from 4.2.3 Ablation Study the LLM’s ability, generated storylines reach above In §3.2, we introduced the framework of the ac- average performances (2.5) in all dimensions. Even tor agent based on the original generative agent. though the plot develops objective by objective, the To validate the effectiveness of those modifications, whole storyline can still keep high coherence while we conduct the ablation study of IBSEN, and check generally maintaining characterization. its performance when certain components are ab- Case Study During the evaluation, we find some sent: a) without director’s instruction to the actor, generated dialogue scripts highly match the expec- b) without monologues in the memory and charac- tation of the creator, while some other scripts evi- ter database. We generate 5 complete drama plays dently misunderstand our intention. Example cases for each case and evaluate their storyline perfor- are shown in Table 2. Most of the time, IBSEN mances. Comparison results are shown in Figure 5. follows the route of plot objectives and generates As the centralized component in IBSEN, removing proper storylines (Case 1), while the actor agents director’s instruction will lead to a performance maintain the characteristics in the dialogue (Case drop in both storyline and characteristics. Remov- 2). On the other hand, some common faults occa- ing first-person monologues will not harm storyline sionally arise during the generation. Although we logicality in the short term, but it slightly decreases use the revising step to prevent the actor from gen- coherence and characteristics in the long-term sto- erating too similar responses (re-generate when the ryline. Under these three conditions, the storyline relative Levenshtein distance is higher than 0.4), scores are relatively close, but overall, the complete 1613
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
代码从哪里读
原始来源入口。先看终端前端与服务之间的调用,再沿导演目标检查和演员回应追踪流程;不要从界面截图推断控制机制。