About this example
This page contains two short topic rationales in computer science, the kind of one-page argument a doctoral applicant or first-year PhD student writes to show a prospective supervisor or panel that a topic is worth pursuing. The first concerns privacy-preserving use of data held in the cloud; the second concerns predicting defective software modules with data mining. Each rationale moves from context to a precise problem, from what is known to a gap, and from the gap to an aim, research questions and a feasible plan.
Both rationales are illustrative teaching examples written for this page, not a real student's work. They are supported with verified sources. Read each part, then the "What to notice" note beneath it. Do not submit any part of it as your own work; your university's academic integrity rules apply.
The example: Topic 1, using cloud data without exposing it
Working title
Privacy-preserving analysis of sensitive data in the cloud: comparing differential privacy and homomorphic encryption for aggregate queries on health records.
Context and problem
Organisations increasingly store and analyse data on cloud platforms that they do not control. Encrypting data at rest and in transit protects it from outsiders, but it does not solve the harder problem: the data must still be used. As soon as records are decrypted for querying or model training, the cloud provider, other tenants or anyone who compromises the service may see them. Results can also leak information: machine learning models trained on personal data can reveal whether an individual's record was in the training set (Nasr et al., 2019). The research problem is therefore how to answer useful questions about sensitive data held in the cloud while limiting what any party can learn about individuals.
What is known and the gap
Two families of techniques address this tension in different ways. Differential privacy adds calibrated random noise to query results so that the output changes very little whether or not any one person is included; it gives a mathematical guarantee, but every query spends part of a privacy budget and accuracy falls as protection rises (Dwork & Roth, 2014). Homomorphic encryption allows certain computations to be carried out directly on encrypted data, so the cloud never sees plaintext, but fully homomorphic schemes remain costly in computation and storage (Acar et al., 2018). Simpler perturbation methods, which add noise or transform records before upload, are cheap but give weaker and harder-to-quantify protection. What is less well established is how these approaches compare on the same realistic workload, under the same threat model, measured on accuracy, latency and cost together.
Aim, questions and feasibility
The aim is to evaluate differential privacy and homomorphic encryption for aggregate queries on a de-identified or synthetic health dataset hosted on a public cloud. RQ1: For a fixed set of aggregate queries, how does accuracy change across privacy budgets under differential privacy? RQ2: What are the latency and monetary costs of answering the same queries under homomorphic encryption? RQ3: Which approach gives the better balance of accuracy, cost and protection for each query type? The study would use open-source libraries and a synthetic or properly de-identified dataset, so no identifiable data need be collected, and would require research ethics review if any real records were used.
The example: Topic 2, predicting defective software modules
Working title
Cross-version defect prediction with data mining: does the way models are built matter more than the choice of algorithm?
Context and problem
Testing effort is limited, so development teams benefit from knowing which modules or classes are most likely to contain faults. Defect prediction models learn from historical data, such as code metrics and change history labelled with past faults, and rank new modules by predicted risk so that review and testing can be focused there. The problem is that published models often perform well in the study that proposed them and less well elsewhere, which limits their practical value.
What is known and the gap
A systematic review of fault prediction studies published between 2000 and 2010 screened 208 studies and synthesised 36 that met its quality criteria. It found that well-performing models tended to use simple techniques such as Naive Bayes or logistic regression, combined several types of predictor and applied feature selection, and it concluded that the methodology used to build a model influences its performance (Hall et al., 2012). Later concerns about machine learning research more broadly point the same way: information leaking from test data into training, for example by splitting data randomly across software versions, can inflate reported accuracy (Kapoor & Narayanan, 2023), and many deep learning studies in software engineering cannot be reproduced from what they report (Liu et al., 2022). The gap is a controlled comparison that holds the modelling procedure fixed (time-ordered splits, the same feature selection, the same evaluation metrics) while varying the algorithm, so that the contribution of each can be separated.
Aim, questions and feasibility
The aim is to test whether modelling procedure or algorithm choice explains more of the variation in cross-version defect prediction performance. RQ1: How does performance change when models are evaluated on later versions rather than on random splits? RQ2: Holding the procedure fixed, how much do simple and complex algorithms differ? RQ3: Which reporting practices are needed for results to be reproduced? Data would come from public defect datasets drawn from open-source projects, with all code and settings shared.
| Part of the rationale | Topic 1: cloud data privacy | Topic 2: defect prediction |
|---|---|---|
| Problem | Using sensitive data in the cloud exposes it | Models do not hold up outside their own study |
| Gap | No like-for-like comparison of techniques on cost and accuracy | Effect of procedure and algorithm not separated |
| Data | Synthetic or de-identified records | Public defect datasets from open-source projects |
| Main risk | Over-simplified threat model | Leakage between training and test data |
How to adapt this to your own study
- Write the problem as a tension or failure that someone experiences, not as a broad area.
- Summarise two or three key sources with what they found, including any numbers they report.
- State the gap as something specific that is missing or doubtful, and say why it matters.
- Turn the gap into one aim and two or three answerable research questions with named outcomes.
- Show where the data will come from and any ethics approval you will need.
- Check the topic against your interests, your supervisor's expertise and available resources, which are among the main drivers of doctoral topic choice (Mosyjowski et al., 2017; Luse et al., 2012).
- Ask a supervisor or peer to read it and say in one sentence what your contribution would be.
Common mistakes in topic rationales
- Describing a field ("cloud security is important") instead of a problem.
- Claiming a gap because "few studies exist" without showing what the existing studies did.
- Making technical claims that cannot be checked, such as "faster convergence in data security".
- Listing tools or algorithms without saying what question they will answer.
- Leaving out data sources, ethics and the evaluation plan.
- Reusing paragraphs from other documents: every rationale must be your own writing.
| What examiners look for | Where this example does it | Check in your own draft |
|---|---|---|
| A precise problem | "Context and problem" in each topic | Can you state the problem in one sentence? |
| Evidence of the current state of knowledge | Hall et al. (2012) and the privacy sources | Have you reported what key studies found? |
| A justified gap | "What is known and the gap" | Does the gap follow from the sources you cite? |
| Answerable research questions | RQ1 to RQ3 in each topic | Does each question name an outcome? |
| Feasibility | Data and ethics in "Aim, questions and feasibility" | Do you know where your data will come from? |
| Personal fit | Step 6 of the adaptation list | Does the topic match your skills and supervision? |
Topic choice is also shaped by networks of advisers and peers (Olalere et al., 2014), so discuss drafts early.
Related examples and guides
- Companion example: two fog computing topic rationales
- Example proposal: from project plan to research proposal
- Academy guide: How to select the right topic for your PhD in computer science
- Academy guide: How to choose a PhD topic
- Service: PhD topic selection mentoring and research proposal mentoring
- All sample work
Key takeaways
- Frame the problem as a tension, such as needing to use data while keeping it confidential (Dwork & Roth, 2014).
- Report what key studies found, with their numbers, before claiming a gap (Hall et al., 2012).
- Build known risks such as data leakage into the research questions (Kapoor & Narayanan, 2023).
- Show where the data will come from and how results can be reproduced (Liu et al., 2022).
- Test the topic against your interests, skills and supervision before writing a full proposal (Luse et al., 2012).
