Sustaining Student Motivation and Focus on Core Learning Outcomes: A Customized XIPU AI Agent Tutor

Abstract

This article examines how a customized AI agent tutor, built on the XIPU AI Agent Platform, can help sustain students' motivation, engagement and focus when they complete the first assessment of ACC310 Accounting Fraud Detection and Analytics. In the first assessment of the module, students must process financial data and calculate fraud-related ratios before they can begin to analyze potential fraud, which consumes time, energy and attention that would be better spent on accounting reasoning and can dampen enthusiasm for the task. The agent encapsulates data processing and ratio calculation in Python coding nodes within a multi-step workflow, and uses ACC310 lecture slides stored in a knowledge base to generate calculated financial ratios and preliminary descriptions in a downloadable Word report. Drawing on motivation theory and Cognitive Load Theory, we argue that this design removes repetitive technical barriers so that students can concentrate on interpreting financial indicators and exercising professional judgment.

 

Keywords: XIPU AI Agent Tutor, Student Motivation, Focused Engagement, Professional Judgment

 

1. Introduction

ACC 310 Accounting fraud detection and analytics is a demanding subject. Students must understand and judge whether unusual financial ratio patterns indicate manipulation. ACC310, a final-year module taken by around 150-200 students each year in the Department of Accounting at XJTLU, develops these abilities through two components: an in-depth analysis of whether a company may have engaged in accounting fraud, and the development of Python programming skills to automatically detect accounting fraud.

 

Student feedback suggests a tension in the first component. Before students can interpret anything, they must clean financial data and calculate a long list of ratios in Excel or Python. These skills matter, but they are not the main learning objective of this component, which is to understand how financial ratios can reveal potential fraud. Time and effort spent on repetitive calculation reduce what remains for interpretation and professional judgment, and long stretches of mechanical work can drain students' interest in the assessment.

 

To address this, we developed an AI agent tutor on the XIPU AI Agent Platform. This article explains its design and why it can strengthen students' motivation and focus while keeping the intellectual work with the student.

 

2. Literature Review

Cognitive Load Theory (CLT) starts from the premise that working memory is limited, so instruction should manage the load placed on it (Sweller, 1988). Three types of load are usually distinguished: intrinsic load, arising from the complexity of the material itself; extraneous load, created by how tasks are presented or the activities students must perform; and germane load, the effort devoted to building understanding (Sweller, Ayres and Kalyuga, 2011).

 

Attention and motivation are closely linked to how a task feels. Self-determination theory argues that motivation is sustained when students experience competence, autonomy and relatedness (Ryan and Deci, 2000), and flow research suggests that deep concentration occurs when challenge is meaningful and obstacles are manageable (Csikszentmihalyi, 1990). Fraud analysis has high intrinsic load. Research on earnings manipulation relies on combinations of indicators, such as receivables growth relative to sales growth, or changes in asset turnover (Beneish, 1999; Dechow et al., 2011). No single ratio is conclusive, and the analyst must hold several in mind and weigh them against business context. If students must also construct each ratio by hand, with lagged values, average balances and base-period adjustments, the mechanics add extraneous load and compete with this integrative reasoning.

 

Research on AI in higher education points to both promise and risk. Reviews highlight AI's potential for personalised support and routine-task automation (Zawacki-Richter et al., 2019; Kasneci et al., 2023), but evidence also shows that unrestricted generative AI can harm learning when students rely on it to do the thinking (Bastani et al., 2025). This supports the view that AI tutors should provide structured guidance rather than simply delivering answers, consistent with the argument that learners need appropriate instructional guidance (Kirschner, Sweller and Clark, 2006). The design question is therefore not whether to use AI, but which tasks to hand over and which to keep with the learner.

 

Cognitive Load Theory (CLT) starts from the premise that working memory is limited, so instruction should manage the load placed on it (Sweller, 1988). Three types of load are usually distinguished: intrinsic load, arising from the complexity of the material itself; extraneous load, created by how tasks are presented or the activities students must perform; and germane load, the effort devoted to building understanding (Sweller, Ayres and Kalyuga, 2011).

 

Attention and motivation are closely linked to how a task feels. Self-determination theory argues that motivation is sustained when students experience competence, autonomy and relatedness (Ryan and Deci, 2000), and flow research suggests that deep concentration occurs when challenge is meaningful and obstacles are manageable (Csikszentmihalyi, 1990). Fraud analysis has high intrinsic load. Research on earnings manipulation relies on combinations of indicators, such as receivables growth relative to sales growth, or changes in asset turnover (Beneish, 1999; Dechow et al., 2011). No single ratio is conclusive, and the analyst must hold several in mind and weigh them against business context. If students must also construct each ratio by hand, with lagged values, average balances and base-period adjustments, the mechanics add extraneous load and compete with this integrative reasoning.

 

Research on AI in higher education points to both promise and risk. Reviews highlight AI's potential for personalised support and routine-task automation (Zawacki-Richter et al., 2019; Kasneci et al., 2023), but evidence also shows that unrestricted generative AI can harm learning when students rely on it to do the thinking (Bastani et al., 2025). This supports the view that AI tutors should provide structured guidance rather than simply delivering answers, consistent with the argument that learners need appropriate instructional guidance (Kirschner, Sweller and Clark, 2006). The design question is therefore not whether to use AI, but which tasks to hand over and which to keep with the learner.

 

3. Design of the AI Agent Tutor

3.1 Encapsulating the technical part in a workflow

The agent is a multi-step workflow with input, data processing, financial ratio calculation, LLM-based analysis and document generation nodes. Users upload a financial data file and specify a company ticker and the beginning and ending years, for example tick=600518, year_begin=2015, year_end=2018. For the course dataset (finaldata_2009.txt), the permitted tickers and years are restricted to those covered in the lectures, and the agent reminds users when a parameter is missing.

 

Screenshot for the workflow

 

The technical work sits in a Python coding node. The script reads the uploaded .txt file, standardizes column names and numeric values, and filters the selected company. It then calculates 16 financial indicators. It then applies eight red-flag rules and outputs ten result tables. Formulas are defined explicitly in code, so results are consistent and reproducible. Students never need to write, run or debug this code, and the workflow and code are not distributed to them.

 

Selected screenshot for Python codes in the coding node

 

3.2 Grounding the description of financial indicators in the ACC310 knowledge base

The calculated tables are passed to an LLM node, which organizes them and writes a short description of each. To keep the language aligned with the course, the ACC310 lecture slides on fraud patterns are uploaded to the platform's knowledge base, and the prompt instructs the model to follow the logic in those slides. The prompt also restricts the model to the data it has been given. Numerical work is therefore done by code, while the LLM does what it is suited to, describing financial indicators in natural language. Finally, the workflow compiles everything into a downloadable Word report.

 

Screenshot for knowledge base

 

 

Summary of the agent steps and human determination

Stage

What the agent does

What the student does

1. Input

  Receives the data file, ticker and year range; reminds users   if a parameter is missing

Chooses the company and period to investigate

2. Data processing and ratio calculation (Python coding node)

Parses the .txt file, calculates 16 indicators, applies red-flag rules, outputs 10 tables

Nothing technical: no spreadsheet formulas,  no code

3. Preliminary analysis (LLM node + knowledge base)

Organizes results into tables and writes short descriptions  following the ACC310 lecture logic

Reads the descriptions critically and checks them against the lectures

4. Report generation

Compiles tables and descriptions into a downloadable Word document

Uses the report as the starting point for further analysis and    professional judgment

 

Link for this XIPU Agent:

https://aiagent.xjtlu.edu.cn/product/llm/mall/application/dbhfulv7109350g5ib5g/chat

 

4. Educational Reflections and Conclusion

From a CLT perspective, the agent removes much of the extraneous load in the first assessment component. Data cleaning, formula construction and table preparation are absorbed by the workflow, while the intrinsic complexity of fraud analysis stays with the student. It supports two learning outcomes of ACC 310: understanding the mechanisms of accounting fraud and interpreting financial ratio trends to identify potential fraud. In terms of Bloom's revised taxonomy (Anderson and Krathwohl, 2001), effort shifts from procedural execution to analyzing and evaluating.

 

The design also responds to the risk of over-reliance on AI (Bastani et al., 2025). The agent produces preliminary findings, not definitive conclusions. Students must still decide whether a flagged pattern reflects fraud risk, or just an ordinary business change. The teacher keeps control over assessment boundaries: use of the agent is permitted for the first component but not for the second, which assesses Python programming. The Python codes in the agent will not be distributed to students. This protects the programming outcomes and fits XJTLU's GenAI policy.

 

Beyond efficiency, the design is intended to protect motivation. Students receive a working set of results quickly, and they stay in charge of the investigation by choosing the company, period and interpretation, which supports autonomy. Because the agent takes over the repetitive steps, attention can stay on the question that makes fraud analysis engaging: does this pattern look suspicious, and why? Initial testing has been informal. Past and prospective ACC310 students used the agent and judged its usefulness for the first component assessment. They reported that it was useful and could save time on data processing and ratio calculation, leaving more effort for interpretation.

 

In conclusion, this customized XIPU AI agent tutor shows how AI can take over the technical part of a complex task while leaving the thinking with the student. By encapsulating data processing and ratio calculation in a coded workflow, and grounding short descriptions in a knowledge base of ACC310 lecture slides, the agent lowers technical barriers, helps students stay motivated and focused, and creates space for accounting knowledge, deep analysis and professional judgment, which are the core aims of first component of the module.

 

 

 

References

Anderson, L.W. and Krathwohl, D.R. (eds.), 2001. A Taxonomy for Learning, Teaching, and Assessing: A Revision of Bloom's Taxonomy of Educational Objectives. New York: Longman.

 

Bastani, H., Bastani, O., Sungu, A., Ge, H., Kabakcı, Ö. and Mariman, R., 2025. Generative AI without guardrails can harm learning: Evidence from high school mathematics. Proceedings of the National Academy of Sciences, 122(26), e2422633122.

 

Beneish, M.D., 1999. The detection of earnings manipulation. Financial Analysts Journal, 55(5), pp.24-36.

Csikszentmihalyi, M., 1990. Flow: The Psychology of Optimal Experience. New York: Harper & Row.

 

Dechow, P.M., Ge, W., Larson, C.R. and Sloan, R.G., 2011. Predicting material accounting misstatements. Contemporary Accounting Research, 28(1), pp.17-82.

 

Kasneci, E. et al., 2023. ChatGPT for good? On opportunities and challenges of large language models for education. Learning and Individual Differences, 103, 102274.

 

Kirschner, P.A., Sweller, J. and Clark, R.E., 2006. Why minimal guidance during instruction does not work: An Analysis of the Failure of Constructivist, Discovery, Problem-Based, Experiential, and Inquiry-Based Teaching. Educational Psychologist, 41(2), pp.75-86.

 

Paas, F., 1992. Training strategies for attaining transfer of problem-solving skill in statistics: A cognitive-load approach. Journal of Educational Psychology, 84(4), pp.429-434.

 

Ryan, R.M. and Deci, E.L., 2000. Self-determination theory and the facilitation of intrinsic motivation, social development, and well-being. American Psychologist, 55(1), pp.68-78.

 

Sweller, J., 1988. Cognitive load during problem solving: Effects on learning. Cognitive Science, 12(2), pp.257-285.

 

Sweller, J., 2010. Element interactivity and intrinsic, extraneous, and germane cognitive load. Educational Psychology Review, 22, pp.123-138.

 

Sweller, J., Ayres, P. and Kalyuga, S., 2011. Cognitive Load Theory. New York: Springer.

 

Zawacki-Richter, O., Marín, V.I., Bond, M. and Gouverneur, F., 2019. Systematic review of research on artificial intelligence applications in higher education– where are the educators? International Journal of Educational Technology in Higher Education, 16, 39.


AUTHOR
Jin Jiang, Assistant Professor
Xiangyun Lu, Associate Professor
Wentao Ma, Assistant Professor
Department of Accounting
International Business School, Suzhou

DATE
27 November 2026

Related Articles