Ethical approval
Prior to the experiment, the authors obtained approval (Approval Number: NBCC-ETH-2026-037) from the college and distributed informed consent documents to all student participants. All students were clearly informed of the research objectives, experimental procedures, and data-use regulations. Participation was voluntary, and participants could withdraw from the study at any time. All personal data and written works were anonymized to protect privacy and were used only for academic analysis. All 60 participants signed the consent form before taking part in the research. Participants were selected from two parallel sophomore English writing classes at the same higher vocational college, recruited using convenience sampling. Inclusion criteria included: passing CET-6 with a score > 425, no absences this semester, and average scores in the last two unit writing tests. Exclusion criteria included: long-term use of commercial English AI writing software outside of class and severe dyslexia.
Variability for all continuous outcome variables was reported as mean ± standard deviation (SD). All analyses were conducted with a sample size of n = 30 participants per group (experimental group vs. control group), total N = 60. For longitudinal repeated-measures data, a repeated-measures analysis of variance (RM-ANOVA) was used to examine main effects of group and time, and the group-by-time interaction. Independent-samples t-tests were used for post-hoc pairwise comparisons at individual time points. The control group received traditional writing instruction plus a generic, free, uncustomized AI writing tool (no tiered prompts, no transfer-oriented templates). The instruction hours, writing tasks, feedback frequency, and training texts were identical to those of the experimental group, except for the lack of the customized nested prompt chain and five-level task library intervention used in this study. The experimental group used instructions based on the DeepSeek model to optimize writing instruction, including nested prompt-chain guidance, cross-cultural adaptation output, and the "generation-reflection-regeneration" mechanism. The control group, in contrast, employed traditional teaching methods or unoptimized AI-assisted tools. By comparing the teaching effects of the two groups, the effectiveness of the transfer training method based on the large language model in improving students' writing transfer ability was verified.
Overall research idea
This study aimed to improve students’ English writing transfer ability and develop effective instructional design methods, with a particular focus on adapting DeepSeek for educational use. First, it proposed an instruction optimization strategy to redesign model prompts. This improved the generated output's alignment with multiple transfer goals in writing instruction, including syntactic structure, paragraph logic, and cultural expression. Second, teachers’ writing tasks were converted into structured and goal-oriented prompt templates. A mapping relationship was then established between teaching tasks and model behaviors. This improved the model's controllability and ensured that the generated content was pedagogically relevant. Finally, the study developed a closed-loop transfer training process, “generation–reflection–rewriting–regeneration.” This process encouraged students to identify transfer strategies and actively refine their language expression with the support of the model. Through repeated iterations, students’ cross-linguistic and cross-cultural writing transfer abilities were continuously strengthened. The steps for sentence structure transformation are shown in Figure 1A–D.
To clarify the complete operation logic of the AI-assisted writing training system and improve replicability, the overall implementation workflow is summarized in Table 1, covering core links including raw input, teacher interventions, prompt application, student activities, final outputs, and corresponding evaluation criteria.
Transfer-oriented task construction strategy
This study focused on cultivating transfer ability in English writing. It constructed a transfer task path that progresses from shallow to deep, systematically guiding students in mastering and practicing multi-level language transfer strategies. To describe the path structure as a whole, it was defined as a four-level task set:
T = {T1,T2,T3,T4} (1)
T1 represents the sentence-level transfer task, which focuses on basic grammatical structure operations, such as short-sentence expansion, voice change, and clause replacement, to help students master diverse methods of sentence structure. T2 is the paragraph-level transfer task, which guides students to pay attention to the organization and connection of information within the paragraph, and trains them to improve the structural clarity and expression coherence of the paragraph through the extraction of the main sentence and the adjustment of the logic between sentences. T3 represents the discourse-level task, which further extends to the overall logical layout and argumentation rhythm of the chapter, and guides students to construct an English article with a complete argumentation system by adjusting the order of paragraphs and optimizing the structural juxtaposition relationship. T4 is the cultural-level transfer task, which requires students to identify implicit cultural expression characteristics in native-language writing, such as implicit wording and semantic hints, and transform them into direct expressions or logical explicit forms that conform to the target-language culture. Its evolution process is shown in Figure 2. To enhance the operability and evaluation of task design, this study further defined each level of task as a triple form:
Ti = (Si,Gi,Ei) (2)
Sj represents the task input sample, Gi represents the target transfer operation, and Ei represents the supporting evaluation criteria. Through this structured expression, it ensured that each level of the task was built upon the mastery of the strategy from the previous level and was equipped with corresponding samples, target descriptions, and performance criteria, providing a mechanism for the steady advancement of the transfer path. In the process of constructing the transfer training system, to achieve systematic coverage of task types and efficient management of teaching calls, this study built a structured task library covering five types of transfer goals based on the common language conversion dimensions in writing transfer. The task library was formally expressed as:
M = {(Dj,TDj)∣j = 1,2,3,4,5} (3)
Dj corresponds to five transfer dimensions: syntactic transfer, structural transfer, cultural transfer, register transfer, and logical transfer; the task set TDj associated with each dimension represents its operation subset. In the process of developing the task library, first, the authors summarized and classified common transfer difficulties and language error types based on a large number of real student writing samples, and combined with the actual teaching needs and evaluation standards, divided the different transfer types into functional areas, and established the core training objectives and operation modes of each task. Each task was abstractly represented as the following triple structure:
Ti,j = (Si,j,Gi,j,Ci,j) (4)
Si,j represents the task input sample, Gi,j is the transfer target description of the task, and Ci,j is the evaluation and control dimension of the task. In the syntactic transfer task, this study designed a sentence reorganization sequence that progressed from simple to difficult, covering sentence connection, clause nesting, passive-voice conversion, and related concepts, aiming to improve students' abilities in sentence expansion and grammatical transformation. The structural transfer task focused on optimizing paragraph logic, strengthening information organization, and enhancing logical construction ability through rewriting the main sentence, sorting supporting sentences, and reconstructing the cause-and-effect and example relationships. The cultural transfer task was based on a cross-cultural corpus and targets pragmatic deviations, such as implicit expressions and euphemisms. It designed expression conversions that are close to the real context to promote the development of cultural adaptability. The register transfer task guided students in transforming oral expressions into academic language and mastering strategies for switching registers. The logical transfer task focused on constructing reasoning chains and ensuring clarity of expression while conducting training on the use of conjunctions, explicitation of logical relationships, and paragraph transitions.
Based on students' actual writing samples, this study developed a prompt generation process closely tied to teaching tasks, aiming to enhance the relevance of instructions and the practicality of generated content. The process was led by teachers, who selected representative student text fragments during the teaching process, focusing on typical transfer problems such as redundant sentences, chaotic structures, and inappropriate cultural expressions. They then annotated the samples with transfer types through the system interface to clarify the training objectives. After receiving the annotation information, the system automatically activated the transfer task identification module. It then matched the input with the predefined task library and prompt template library. The matching process considered factors such as transfer type, linguistic features, and text structure. Based on these factors, the system selected the most appropriate template and generated an initial prompt. The system also supported structured enhancement processing. Teacher annotations were converted into a standardized format that can be easily interpreted by the model. Relevant instructional cues were embedded into the prompt to help the model accurately understand both the teacher’s intentions and the student’s questions. To improve the flexibility and controllability of instructions, the system included a teacher assistance module. This module allowed teachers to refine prompts by modifying instructional guidance, adjusting contextual settings, and customizing tone and style. As a result, teachers gained greater control over the generation process and better adapted it to different teaching scenarios.
Deepseek command optimization mechanism
Based on the practical needs of English writing transfer training, this study developed five types of transfer-oriented prompt templates. These templates were designed to guide and regulate the generation behavior of the large language model. The structural transfer template focused on paragraph organization and discourse structure. It helped students reorganize texts by adopting structures such as introduction–body–conclusion, and by improving the logical flow of ideas. The syntactic transfer template emphasized sentence-level complexity. It encouraged the use of diverse grammatical structures, including passive voice, parallel constructions, and complex clauses, to enhance the sophistication of written expression. The cultural transfer template addressed cultural appropriateness in writing. It guided students in adapting expressions influenced by their native language and culture to forms that were more natural and acceptable in English-speaking contexts. The register transfer template focused on style adaptation and register control. It helped students adjust their language use according to different writing purposes, audiences, and genres. The logic transfer template aimed to strengthen logical organization. It promoted the effective use of relationships such as cause and effect, comparison and contrast, and parallel development, thereby improving coherence and argumentative rigor. Together, these five templates covered the major dimensions of writing transfer. They provided structured instructional support for both teaching task design and model-based text generation.
Each template type followed a unified format to ensure its universality and adaptability across different teaching situations. The template contained four core elements: the first was the instruction target, which clearly indicated the required transfer task; the second was the sample input, which provided students with real language fragments as the corpus basis for the effectiveness of the instruction; the third was the target output, which showed the standard style of ideal language output after transfer for students to compare and use for model tuning; the fourth was the usage suggestion, which explained the language level, text type and usage strategy applicable to the template, and provided adjustable parameter prompts to enhance generation control and teaching guidance effect.
To further illustrate the design logic and practical application of the prompt templates, representative examples of five transfer-oriented prompts are presented below. All templates complied with the unified framework, which consisted of an instruction target, sample input, target output, and usage suggestion. Students were guided to expand simple sentences, convert sentence voices, and embed clauses to enrich syntactic diversity. For instance, given the student draft "I study English writing. It is very important for cross-cultural communication", the optimized output is "Learning English writing plays a vital role in improving learners’ ability of cross-cultural communication". This prompt was suitable for sentence-level training for sophomore English majors at a moderate difficulty level, focusing on basic syntactic reconstruction and voice transformation. Another type of prompt targeted cultural transfer, aiming to identify Chinglish expressions influenced by native cultural thinking and to rewrite sentences into natural English pragmatic expressions that conform to Western cultural norms. Taking the student sentence "Many people think you must work hard if you want to succeed" as an example, the revised version was "People generally believe that diligence is the key to success". This prompt was applied to cultural-level transfer training, focusing on eliminating implicit Chinese thinking patterns and fostering explicit expression in the English context.
This study also developed a three-stage nested prompt chain that took students’ paragraph drafts as unified input and ran in sequential phases. The first phase was semantic reorganization, with the prompt requiring the participant to rearrange sentences of the given paragraph, optimize the logical order of ideas, and form a complete paragraph with clear topic sentences. The second phase was linguistic revision, which asked to rewrite the revised paragraph into formal academic English, replace colloquial words, and appropriately use complex sentences and passive structures. The third phase was cultural adaptation, whose prompt guided users to check for cultural-pragmatic expressions in the text, remove native-language cultural interference, and polish the content to fit English cross-cultural writing conventions. The above examples fully demonstrated the operational modes of single-prompt templates and nested prompt chains. On this basis, the study designed a complete phased prompt chain combined with DeepSeek’s MoE architecture.
To overcome the limitations of single-round prompts in terms of generation control and task response depth, this study designed a nested prompt chain structure with phased and continuous characteristics, enabling hierarchical guidance and the gradual generation of complex transfer tasks. This mechanism broke down a complete transfer task into several sub-goals and designed corresponding prompt templates for each sub-goal, which were connected in series in the logical order of semantic reconstruction, language style adjustment, and cultural pragmatic adaptation, forming a generation chain with context dependence. This study implemented nested prompt chain optimization for DeepSeek through its standard open API. The DeepSeek model natively adopted a Mixture of Experts (MoE) architecture equipped with an automatic backend expert routing system, which operates as an inherent internal reasoning module independent of external prompts. The customized multi-stage prompts only adjusted the content characteristics of model inputs. Corresponding to the semantic, stylistic, and cultural requirements embedded in the optimized inputs, the model’s native MoE routing mechanism autonomously activated the most suitable expert modules during text generation. The three-stage prompt design focusing on semantic reorganization, stylistic adjustment, and cultural adaptation merely refined input texts and did not interfere with the model’s internal expert selection and allocation logic.
In terms of the operational process, the system received student texts uploaded by teachers, transferred target annotations, and automatically determined whether to enable the nested chain structure. If enabled, the system executed three stages in sequence: the first stage was semantic reorganization, calling the structure transfer template to optimize paragraph organization and logical clues; the second stage was language style adjustment, using the language template to convert colloquial expressions into academic written language; the third stage was cultural adaptation, calling the cultural transfer template to identify and replace expressions that do not conform to the target language culture, and generated more authentic text.
Each round of generation took the output of the previous round as input and retained the context vector cache to ensure semantic coherence. Teachers customized the prompt chain structure in the system interface, including template selection, instruction modification, and sequence adjustment. The system also supported the "template combination package" function, which was convenient for teachers to reuse or assign tasks in batches. Additionally, the system featured a built-in dynamic interruption and feedback mechanism that provided intermediate results after each generation. Teachers annotated or adjusted subsequent instructions in real time, forming a "generation-adjustment-regeneration" teaching closed loop.
Model generation, evaluation
In the text generation and evaluation process based on the DeepSeek model, this study constructed a multidimensional automatic scoring mechanism to systematically analyze and quantitatively evaluate generated text across three aspects: syntactic complexity, structural standardization, and discourse coherence. This study employed the spaCy dependency parser and the Coreferee coreference resolution extension module for text feature extraction and automated evaluation. The spaCy dependency parser parsed the syntactic structure of English text, extracting key indicators such as average sentence length and the number of nested clauses, enabling quantitative analysis of syntactic complexity. The Coreferee coreference resolution extension module, running within the spaCy framework, primarily identified internal referential relationships in text and assessed discourse referential coherence, providing technical support for automated writing quality scoring. Due to network limitations, the aforementioned overseas open-source websites were inaccessible.
First, the system evaluated syntactic complexity. It extracted features such as average sentence length, clause embedding depth, and sentence variety. These features were obtained through dependency parsing and deep syntactic tree modeling. Based on the results, the system assessed whether students have successfully progressed from simple sentence patterns to more complex structures. Second, the system evaluated paragraph organization. It combined BERT-based text representations with classification models to identify key paragraph elements, including topic, supporting, and concluding sentences. A paragraph structure map was then constructed to determine whether the organization conformed to the conventions of English academic writing. Third, the system assessed textual coherence. It examined the use of logical connectives, semantic consistency between sentences, and the quality of referential links throughout the text. These indicators were used to evaluate the clarity of logical development and the smooth progression of ideas. To measure topic consistency, the system calculated semantic similarity using vector-based representations. Referential coherence was evaluated through coreference resolution techniques, which helped reduce semantic gaps and ambiguous references. Finally, scores from all dimensions were integrated into a unified scoring vector. The results were standardized to form a comprehensive evaluation system, enabling reliable comparison across different writing samples.
In the manual evaluation phase, this study developed a three-dimensional scoring system for writing transfer training, encompassing the obviousness of transfer behavior, naturalness of expression, and cultural adaptability, to enhance the relevance of teacher evaluation and the effectiveness of teaching feedback. The system combined its auxiliary functions to achieve an organic combination of quantitative scoring and qualitative comments. In the transfer behavior dimension, teachers judged students' use of transfer strategies in rewriting texts based on preset task objectives. The system provided a side-by-side comparison view of the original text and the generated version to assist teachers in identifying whether operations such as sentence adjustment and structural reconstruction effectively reflected the required transfer type.
The evaluation of natural expression focused on the fluency and authenticity of language output. Teachers used the language indicators generated by the system to evaluate whether the sentences conformed to the expression habits of native English speakers and to judge whether the grammatical structure, word collocation, and sentence rhythm were natural and appropriate. They also pointed out problems and suggested alternative expressions through annotations. The cultural adaptability dimension focused on the appropriateness of cross-cultural pragmatics. Teachers needed to identify whether the text contains inappropriate expressions resulting from interference from the source-language culture, such as semantic ambiguity, rhetorical conflicts, or vague value judgments. The system provided common cultural deviation word examples and supported teachers to explain the basis for modification and cultural context requirements in the comments, guiding students to improve cultural transfer awareness and expression accuracy. Each dimension was scored on a 5-point scale and included free annotations and suggested fill-in modules. The final evaluation results were presented as a radar chart.
To improve evaluation efficiency and support practical classroom use, this study developed a collaborative assessment mechanism that combined AI-based scoring with teacher evaluation. The system first performed a multidimensional assessment of the text generated by DeepSeek. It evaluated key aspects such as syntactic complexity, paragraph organization, and textual coherence through the automatic scoring module. The scoring results were then displayed in real time on the teacher interface. Teachers reviewed the detailed scores for each dimension and adjusted them when necessary based on their professional judgment and understanding of students’ transfer performance. They also added targeted comments directly to the text to provide feedback and instructional suggestions that might not be captured by automatic scoring. Each evaluation dimension adopted a five-point rating scale. The interface also included free-text annotation and recommendation modules to facilitate personalized feedback. The evaluation results were visualized through a radar chart, allowing teachers to quickly identify students’ strengths and weaknesses across different transfer dimensions.
In addition, the system allowed teachers to adjust the weighting of specific dimensions or the overall scores to align with instructional goals. This feature ensured that the final evaluation more accurately reflected students’ actual performance and learning needs. After manual review was completed, the system automatically integrated machine-generated and teacher-generated assessment data. It then produced a visual feedback report. The report included a transfer-performance radar chart and a version-tracking chart. These visualizations clearly illustrated changes in students’ transfer abilities across multiple rounds of text generation and revision, enabling continuous monitoring of learning progress.
Transfer training process
This study designed a complete transfer training process. First, the teacher assigned specific English writing tasks based on the teaching objectives and students' actual level, and clarified the transfer type and focus of the training. Then, the system automatically generated corresponding prompt instructions based on the tasks set by the teacher and called the DeepSeek model to generate a first draft of the writing, serving as the basic material for students' rewriting and transfer training. After receiving the first draft, students needed to actively identify the transfer features reflected in the text and rewrite the content in a targeted manner, using the transfer strategies they have learned to improve the appropriateness of syntactic structure, paragraph organization, and cultural expression. After completing the rewriting, the teacher provided a detailed review of the student's submitted text, highlighting the effectiveness of the transfer strategy and offering specific suggestions for improvement and writing guidance. Based on the teacher's feedback, the DeepSeek model was reinvoked to generate an optimized version, further supporting students in refining their texts and deepening their practice of transfer strategies. Finally, the student completed the submission of the final draft, filled in the transfer cognition table, self-evaluated, and summarized the transfer methods and their effects, and promoted the improvement of metacognitive ability and the internalization of writing transfer skills. The transfer cognition table designed for this study is shown in Table 2.
All items adopted a 1–5 rating scale ranging from 1 (no mastery) to 5 (full mastery). Self-assessment data were collected after three rounds of sequential training; scoring benchmarks refer to pre-defined transfer operation standards in the five-dimensional task library.