ExampleResearch writingComputer science

Example topic rationale: two computer science topics, cloud data privacy and software defect prediction (annotated)

Two annotated topic rationales showing how to move from a broad computer science area to a precise problem, a justified gap and answerable research questions. For PhD applicants and first-year doctoral researchers.

What you will learn

  • State a research problem as a specific tension or failure rather than a broad area
  • Summarise key sources by what they found and derive a gap from them
  • Turn a gap into an aim and answerable research questions
  • Show feasibility, data sources and ethics at the rationale stage
  • Compare two candidate topics on the same criteria

What you will unlearn

  • A topic rationale explains why the general field is important.It argues that one specific problem is significant, open and feasible.
  • A gap exists whenever few papers mention your exact title.A gap must follow from what existing studies did and did not establish.
  • Naming techniques shows technical depth.Depth comes from explaining each technique's strengths, costs and the question it answers.

Skills you will practise

  • Problem framing
  • Gap identification
  • Research questions
  • Feasibility check
  • Academic writing

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.

Table 1. The two rationales side by side.
Part of the rationaleTopic 1: cloud data privacyTopic 2: defect prediction
ProblemUsing sensitive data in the cloud exposes itModels do not hold up outside their own study
GapNo like-for-like comparison of techniques on cost and accuracyEffect of procedure and algorithm not separated
DataSynthetic or de-identified recordsPublic defect datasets from open-source projects
Main riskOver-simplified threat modelLeakage between training and test data

How to adapt this to your own study

  1. Write the problem as a tension or failure that someone experiences, not as a broad area.
  2. Summarise two or three key sources with what they found, including any numbers they report.
  3. State the gap as something specific that is missing or doubtful, and say why it matters.
  4. Turn the gap into one aim and two or three answerable research questions with named outcomes.
  5. Show where the data will come from and any ethics approval you will need.
  6. 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).
  7. 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.
How these rationales meet common panel and examiner expectations.
What examiners look forWhere this example does itCheck in your own draft
A precise problem"Context and problem" in each topicCan you state the problem in one sentence?
Evidence of the current state of knowledgeHall et al. (2012) and the privacy sourcesHave 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 questionsRQ1 to RQ3 in each topicDoes each question name an outcome?
FeasibilityData and ethics in "Aim, questions and feasibility"Do you know where your data will come from?
Personal fitStep 6 of the adaptation listDoes 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

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).
Your next step

Want to apply this to your own study?

  1. 1Tell us your topic, data and deadline
  2. 2A subject mentor reviews your work with you
  3. 3You get a plan and a quote
PhD topic selection

References

  1. Acar, A., Aksu, H., Uluagac, A. S., & Conti, M. (2018). A survey on homomorphic encryption schemes: Theory and implementation. ACM Computing Surveys, 51(4), Article 79. https://doi.org/10.1145/3214303
  2. Dwork, C., & Roth, A. (2014). The algorithmic foundations of differential privacy. Foundations and Trends in Theoretical Computer Science, 9(3–4), 211–407. https://doi.org/10.1561/0400000042
  3. Hall, T., Beecham, S., Bowes, D., Gray, D., & Counsell, S. (2012). A systematic literature review on fault prediction performance in software engineering. IEEE Transactions on Software Engineering, 38(6), 1276–1304. https://doi.org/10.1109/TSE.2011.103
  4. Kapoor, S., & Narayanan, A. (2023). Leakage and the reproducibility crisis in machine-learning-based science. Patterns, 4(9), 100804. https://doi.org/10.1016/j.patter.2023.100804
  5. Liu, C., Gao, C., Xia, X., Lo, D., Grundy, J., & Yang, X. (2022). On the reproducibility and replicability of deep learning in software engineering. ACM Transactions on Software Engineering and Methodology, 31(1), Article 15. https://doi.org/10.1145/3477535
  6. Luse, A., Mennecke, B., & Townsend, A. (2012). Selecting a research topic: A framework for doctoral students. International Journal of Doctoral Studies, 7, 143–152. https://doi.org/10.28945/1572
  7. Mosyjowski, E. A., Daly, S. R., & Peters, D. L. (2017). Drivers of research topic selection for engineering doctoral students. International Journal of Engineering Education, 33(4), 1283–1296. https://dalyresearch.engin.umich.edu/wp-content/uploads/sites/237/2018/02/Drivers-of-research-topic-selection-for-engineering-doctoral-students.pdf
  8. Nasr, M., Shokri, R., & Houmansadr, A. (2019). Comprehensive privacy analysis of deep learning: Passive and active white-box inference attacks against centralized and federated learning. In 2019 IEEE Symposium on Security and Privacy (pp. 739–753). IEEE. https://doi.org/10.1109/SP.2019.00065
  9. Olalere, A. A., De Iulio, E., Aldarbag, A. M., & Erdener, M. A. (2014). The dissertation topic selection of doctoral students using dynamic network analysis. International Journal of Doctoral Studies, 9, 85–107. https://doi.org/10.28945/2031
  10. Sandberg, J., & Alvesson, M. (2011). Ways of constructing research questions: Gap-spotting or problematization? Organization, 18(1), 23–44. https://doi.org/10.1177/1350508410372151

How to cite this article

Choose your referencing style, then copy. Check your university's or journal's guide for local variations.

PhD Research Lab Academy. (2022, December 20). Example topic rationale: two computer science topics, cloud data privacy and software defect prediction (annotated). PhD Research Lab. https://www.phdassistance.com/sample-work/computer-science-topic-selection/

PhD Research Lab Academy. “Example Topic Rationale: Two Computer Science Topics, Cloud Data Privacy and Software Defect Prediction (annotated).” PhD Research Lab, 20 Dec. 2022, www.phdassistance.com/sample-work/computer-science-topic-selection. Accessed [access date].

PhD Research Lab Academy (2022) Example topic rationale: two computer science topics, cloud data privacy and software defect prediction (annotated). PhD Research Lab. Available at: https://www.phdassistance.com/sample-work/computer-science-topic-selection/ (Accessed: [access date]).

PhD Research Lab Academy. “Example Topic Rationale: Two Computer Science Topics, Cloud Data Privacy and Software Defect Prediction (annotated).” PhD Research Lab. December 20, 2022. https://www.phdassistance.com/sample-work/computer-science-topic-selection.

PhD Research Lab Academy, ‘Example Topic Rationale: Two Computer Science Topics, Cloud Data Privacy and Software Defect Prediction (annotated)’ (PhD Research Lab, 20 December 2022) <https://www.phdassistance.com/sample-work/computer-science-topic-selection> accessed [access date].

PhD Research Lab Academy. Example topic rationale: two computer science topics, cloud data privacy and software defect prediction (annotated) [Internet]. PhD Research Lab; 2022 Dec 20 [cited [access date]]. Available from: https://www.phdassistance.com/sample-work/computer-science-topic-selection/

PhD Research Lab Academy, “Example topic rationale: two computer science topics, cloud data privacy and software defect prediction (annotated),” PhD Research Lab, Dec. 20, 2022. [Online]. Available: https://www.phdassistance.com/sample-work/computer-science-topic-selection. [Accessed: [access date]].

@online{computer_science_topic_selection_2022,
  author = {{PhD Research Lab Academy}},
  title = {{Example topic rationale: two computer science topics, cloud data privacy and software defect prediction (annotated)}},
  organization = {PhD Research Lab},
  date = {2022-12-20},
  url = {https://www.phdassistance.com/sample-work/computer-science-topic-selection},
  urldate = {[access date]}
}

This article is for learning. Use it to understand the method and cite the original sources above in your own work; do not copy or submit it as your own.

Example topic rationaleNeed help applying it to your study?
PhD topic selection