Using LLMs for Automated Opinion Summary Evaluation in E-commerce
flipkart · E-commerce · 2025 · source Agentic: no · promotional bias: low · source-backed · extracted with prompt 0.5.6 (schema v2)
Generated from extraction.json — do not edit by hand. Every claim cites verbatim source evidence; stated means the quote directly asserts the claim, implied means it supports it indirectly.
Problem
Domain: E-commerce opinion-summary evaluation
Flipkart needed an automated way to evaluate AI-generated customer-review opinion summaries across multiple quality dimensions because lexical metrics did not align with human judgment or production business needs.
Constraints:
- Summary quality affects conversion, satisfaction, and returns.
- Opinion summaries must balance fluency, coherence, relevance, faithfulness, aspect coverage, sentiment consistency, and specificity.
- ROUGE and BERTSCORE showed poor or negative human-judgment correlation.
- Human annotation is expensive and cannot scale to continuous production evaluation.
- The system should work with open-source models as well as closed-source evaluators.
Architecture
Flipkart built SUMMEVAL-OP and OP-I-PROMPT for LLM-as-judge opinion-summary evaluation. SUMMEVAL-OP contains 2,912 expert annotations over summaries from 13 models and 32 products. OP-I-PROMPT uses one modular skeleton prompt with task description, 1-5 rating criteria, step-by-step evaluation instructions, and a swappable metric-definition block for seven quality dimensions. LLM evaluators score summaries with reasoning and correlate strongly with expert ratings.
Diagram confidence: explicit (topology described by the source).
flowchart LR opinion-summaries["Opinion summaries"] --> op-i-prompt-evaluator["OP-I-PROMPT evaluator"] source-customer-reviews["Source customer reviews"] --> op-i-prompt-evaluator source-customer-reviews --> summeval-op-benchmark["SUMMEVAL-OP benchmark"] metric-definition-block["Metric definition block"] --> op-i-prompt-evaluator op-i-prompt-evaluator --> llm-evaluator["LLM evaluator"] llm-evaluator --> evaluation-score-store["Evaluation score store"] summeval-op-benchmark --> evaluation-score-store
Components
| Component | Role | Interacts with |
|---|---|---|
Opinion summaries |
AI-generated product-review summaries being evaluated. | OP-I-PROMPT evaluator |
Source customer reviews |
Provide the review evidence against which summaries are judged. | OP-I-PROMPT evaluator, SUMMEVAL-OP benchmark |
OP-I-PROMPT evaluator |
Runs the modular prompt skeleton for each evaluation dimension. | Opinion summaries, Source customer reviews, Metric definition block, LLM evaluator |
Metric definition block |
Specifies the active quality dimension such as fluency, faithfulness, or specificity. | OP-I-PROMPT evaluator |
LLM evaluator |
Produces step-by-step reasoning and a 1-5 quality score. | OP-I-PROMPT evaluator, Evaluation score store |
SUMMEVAL-OP benchmark |
Provides expert annotations for validating evaluator alignment. | Source customer reviews, Evaluation score store |
Evaluation score store |
Collects scores and correlations for model comparison and quality gating. | LLM evaluator, SUMMEVAL-OP benchmark |
Data flow
A product's customer reviews and generated opinion summary enter the evaluator. OP-I-PROMPT inserts the target metric definition into a fixed prompt skeleton, asks the LLM to reason step by step, and returns a 1-5 score for that dimension. Scores across seven dimensions can then guide model comparison, quality gates, and production summary decisions.
3 supporting quotes
Why this architecture
Flipkart chose a prompt-based evaluator because it avoided fine-tuning and made seven-dimensional quality evaluation maintainable. A fixed skeleton stabilizes behavior, while the metric-definition block lets the same infrastructure evaluate many dimensions.
Models used: ChatGPT-3.5 · GPT-4 · Mistral-7B · Solar-10.7B · G-EVAL
Scale
- SUMMEVAL-OP contains 2,912 expert annotations.“This dataset contains 2,912 expert annotations on summaries generated by 13 different models”summary, stated
- The benchmark covers summaries from 13 models.“summaries generated by 13 different models ranging from older self-supervised systems to modern LLMs like GPT-4, Solar-10.7B, and Mistral-7B.”summary, stated
- The dataset covers 32 products.“The dataset covers 32 different products from the Amazon review test set”summary, stated
- Experts rated summaries on a 1-5 scale across seven dimensions.“expert annotators rated each summary on a 1-5 scale across seven distinct dimensions:”summary, stated
- OP-I-PROMPT reached 0.70 Spearman correlation with human judgments.“OP-I-PROMPT achieves an average Spearman correlation of 0.70 with human judgments across the seven evaluation dimensions.”summary, stated
Alternatives considered (roads not taken)
Use ROUGE or BERTSCORE as primary production metrics
Rejected because: They failed to capture semantic and multidimensional quality and correlated poorly with human judgment.
Fine-tune an evaluator for each quality dimension
Rejected because: A modular prompt avoided labeled-data, compute, and maintenance overhead.
Use separate handcrafted prompts for each metric
Rejected because: OP-I-PROMPT uses one skeleton and swaps only the metric definition.
Rely only on LLM-based evaluation
Rejected because: The summary notes that 0.70 correlation still leaves variance unmodeled and may require hybrid human audits.
Patterns
llm-as-judge (evaluation)
Flipkart uses LLMs as automated evaluators for seven opinion-summary quality dimensions.
eval-driven-development (quality gates)
The framework can be used as an automated quality gate for new summarization models before production promotion.
prompt-versioning (evaluation prompt design)
A fixed prompt skeleton with swappable metric definitions makes evaluator changes maintainable across dimensions.
structured-output-contract (evaluation scoring)
The evaluator returns standardized 1-5 ratings across named dimensions, enabling thresholds and trend tracking.
Tradeoffs
Prompt-based evaluator
Chose Use OP-I-PROMPT without fine-tuning over Fine-tune dedicated evaluator models.
Rationale: Prompting reduced maintenance and made the framework portable across LLMs and dimensions.
Dimension-independent skeleton
Chose One reusable prompt skeleton with a swappable metric definition over Separate handcrafted prompts for every dimension.
Rationale: The modular design reduces prompt-engineering effort and keeps behavior more stable.
Open-source evaluator compatibility
Chose Validate strong performance on Mistral-7B over Depend entirely on proprietary evaluator APIs.
Rationale: Open-source evaluators provide cost, privacy, and deployment-control options.
Gotchas (what bit them)
Lexical metrics can be actively misleading for generative summaries.
Root cause: ROUGE and BERTSCORE measure overlap rather than semantic faithfulness, sentiment consistency, and aspect coverage.
Resolution: Flipkart used multidimensional LLM-based evaluation aligned to expert ratings.
LLM-as-judge still leaves unexplained variance.
Root cause: A 0.70 correlation does not fully capture human judgments.
Resolution: High-stakes production use may need hybrid automated evaluation plus periodic human audits.
English Amazon-review results may not generalize to all Flipkart production contexts.
Root cause: Flipkart serves multilingual and code-mixed markets that differ from the benchmark domain.
Resolution: Cross-lingual and code-mixed evaluation remains an important extension.
Evaluation
Flipkart validated OP-I-PROMPT against expert annotations in SUMMEVAL-OP using Spearman correlation across seven dimensions and compared closed-source and open-source evaluator models.
Metrics: 0.70 average Spearman correlation · Seven evaluation dimensions · 2,912 expert annotations · 13 generation models · 32 products
Outcomes
- OP-I-PROMPT achieved 0.70 average Spearman correlation with human judgments.
- It significantly outperformed alternatives on open-source Mistral-7B.
- The benchmark showed modern LLM summaries were preferred over older model outputs and human references.
- The method gives Flipkart a scalable quality gate for opinion-summary systems.
The benchmark includes 2,912 expert annotations, 13 summary-generation models, 32 products, and seven quality dimensions.