Machine learning research · ICICDA ’26

TARIF

Trust-Aware Review Intelligence Framework

Arnab Sarkar, Suraj Kumar Sahu and Chitra P. studied how Amazon Electronics review text predicts star-rating groups and how weighting reviews by estimated risk changes the mean rating.

Archived results. The original notebooks preserve these figures. The trained checkpoints remain missing.

Evaluation cohorts

Satisfaction holdout
500,000 Electronics reviews
Accuracy 76.80% · macro F1 0.7015
Risk holdout
217,385 rows evaluated against a heuristic target
ROC AUC 0.9944 · average precision 0.4165
Risk-weighted mean rating
+0.004699 stars
4.047394 before weighting · 4.052093 after

Archived Electronics charts

Select a chart to open the original notebook figure at full resolution.

Blue confusion matrix for low, middle and high satisfaction classes, with the largest diagonal cell in the high class.
Satisfaction holdout confusion matrix500,000 held-out Electronics reviews. Rows are true classes and columns are predicted classes; the middle class is the least distinct.Source notebook (.ipynb)
Side-by-side ROC and precision-recall curves for the risk holdout, labelled ROC AUC 0.9944 and PR AUC 0.4165.
Risk curvesOriginal risk-evaluation output for the heuristic target: ROC AUC 0.9944 and average precision 0.4165 on 217,385 test rows.Source notebook (.ipynb)
Grouped bars comparing base and deflated share for low and high satisfaction buckets.
Adjusted bucket shareAfter risk weighting, the low bucket fell from 18.28% to 17.24% of the original total. The high bucket fell from 81.72% to 77.30%.Source notebook (.ipynb)
Bars showing macro F1 for five Electronics categories, with a line showing average confidence.
Five groups within ElectronicsEach category contributes 120 examples selected from the Electronics source. Macro F1 ranges from 0.6079 for Cell Phones & Accessories to 0.7733 for Home Audio & Theater. The notebook took the first eligible examples in each group.Source notebook (.ipynb)

How the models performed

DeBERTa satisfaction classifier

The middle rating group was the hardest to recognize in the held-out Electronics reviews.

Low F1 · 1 star
0.7178
Middle F1 · 2–3 stars
0.4931
High F1 · 4–5 stars
0.8935

FT-Transformer risk model

The scoring rule assigned zero risk to verified purchases. Precision measures agreement with that rule. Measuring fraud detection would require independent labels.

Risk threshold
0.7
Flags matching the target
527 of 2,647
Precision
19.9%

Sources and limits

The archived code, tables and figures come from commit 018ad06 and use the Amazon Reviews 2023 Electronics input. The checkpoints, fitted preprocessing state and reusable model bundle have yet to be recovered.

A broader evaluation would need fixed product-level splits, coverage across the dataset’s named domains and independent labels for fraud.