Unsupervised Anomaly Scoring for Journal Entry Testing

Last updated: November 29, 2026

Quick Overview

Auditors want a model that ranks a client's journal entries by how unusual they are so they can focus manual testing, without any labeled fraud or error examples; describe features, model choice, evaluation and how you would present results.

EY
Machine Learning
Machine Learning Engineer
EY
November 29, 2026
Machine Learning Engineer
Onsite
Machine Learning
Medium

0

0

0 solved


Auditors want a model that ranks a client's journal entries by how unusual they are so they can focus manual testing, without any labeled fraud or error examples; describe features, model choice, evaluation and how you would present results.

Journal entry testing is a required audit procedure for management override risk, and EY has invested in AI-assisted analytics to move beyond fixed rules such as weekend postings. The interviewer checks feature engineering grounded in accounting, sensible unsupervised methods, evaluation without labels and explainability for auditors.

What the Interviewer Expects
  • Features that capture accounting context: account pairs, user, timing, amount patterns
  • An unsupervised method suited to mixed tabular data, such as isolation forest or an autoencoder
  • Per-client calibration because each ledger has its own normal
  • An evaluation plan without labels (injected anomalies, auditor feedback)
  • Explanations per flagged entry so auditors can act
Key Topics to Cover
anomaly detection
isolation forest
feature engineering
explainability
evaluation without labels
How to Approach This
  1. Understand the bias-variance trade-off. High training accuracy but low test accuracy signals overfitting.
  2. Choose evaluation metrics carefully based on the problem. Accuracy alone is often insufficient.
  3. Feature engineering is often more impactful than model selection.
  4. Know when to use tree-based models (tabular data) vs neural networks (unstructured data).
  5. Handle class imbalance with SMOTE, class weights, or appropriate loss functions.
Possible Follow-up Questions
  • How would you incorporate auditor feedback over time?
  • How would you avoid flagging every year-end adjusting entry?
  • How would you compare your model against the existing rule-based tests?
  • What would you do with a client that has only 2,000 entries?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Explore ML Interview Prep
Sample Answer
Clarify

Each journal entry has lines with accounts, amounts, dates, posting user, source system and description. The output is a ranked list per client, used to pick a few dozen entries for testing alongside ...

Approach

Build entry-level features: the set of debit and credit account pairs and how rare that pair is in this ledger, amount and its log, round-number flags, posting time and day, days between document and ...


Submit Your Answer
Markdown supported

Related Questions