Date of Award
8-4-2026
Degree Type
Thesis
Degree Name
Master of Philosophy (MPHIL)
Department
Business
Programme of Study
MPhil (Business)
Chief Supervisor
Prof. WANG Rui Ray
Abstract
Natural language processing (NLP) has advanced rapidly in accounting research, yet applications to tax planning remain limited. Tax-planning tasks combine specialized legal language and relational statutory reasoning with the collection and analysis of business information and communication with clients and business stakeholders who may lack specialized tax or legal knowledge. This study develops a knowledge-grounded question-answering system built on Graph Retrieval-Augmented Generation (GraphRAG) with GPT-4o-mini as the base model, and evaluates the system on seven Hong Kong Institute of Certified Public Accountants (HKICPA) Taxation examinations. The controlled examination setting supplies the relevant facts, bounds the applicable law, and provides standardized marking criteria, thereby isolating rule retrieval and application from several additional demands of practice. Using the same base model and knowledge corpus, we compare no retrieval, BM25 lexical retrieval, and GraphRAG. Mean examination score rates are 27.00%, 36.14%, and 63.71%, respectively. GraphRAG therefore more than doubles baseline performance and outperforms BM25 by 27.57 percentage points. The study extends accounting NLP from descriptive and predictive applications to generative, reasoning-intensive professional tasks, provides controlled evidence in the underexamined tax-planning domain, and identifies the incremental value of relational retrieval. A supplementary evaluation reveals that this standardized examination benchmark is saturated for advanced frontier LLMs, with Gemini 2.5 Pro achieving a mean score of 91.14% performance across all seven examinations. Future research should therefore evaluate whether the GraphRAG framework retains its benefits when applied to the latest models and to real business cases, where the demands of information collection, source verification, and professional judgment can be meaningfully assessed.
Keywords
NLP, Tax Planning, HKICPA, GPT, GraphRAG
Language
English
Copyright
The copyright of this thesis is owned by its author. Any reproduction, adaptation, distribution or dissemination of this thesis without express authorization is strictly prohibited.
Recommended Citation
Liu, J. (2026). Developing an intelligent chatbot for tax planning: A GraphRAG approach (Master's thesis, Lingnan University, Hong Kong). Retrieved from https://commons.ln.edu.hk/otd/284/