LLM-Powered Analysis of User Bug Reports for Product Quality Improvement

meta · Tech · 2025 · source Agentic: no · promotional bias: med · 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: Consumer product quality monitoring

Meta needed to turn large volumes of unstructured Facebook user bug reports into timely product-quality signals, root-cause insights, and cross-functional action.

Constraints:

Architecture

Meta built an LLM-based bug-report analysis playbook around Llama-style classification, iterative prompt engineering, expert-defined categories, dashboards, root-cause analysis, and data pipelines. User-submitted bug reports are classified into predefined categories, monitored through weekly dashboards and threshold checks, used for root-cause rationalization, and routed into cross-functional engineering/product/UX research work to fix product issues.

Diagram confidence: reconstructed (reconstructed from prose).

flowchart LR
  User_feedback_bug_reports["User feedback bug reports"] --> LLM_classification_system["LLM classification system"]
  Prompt_engineering_loop["Prompt engineering loop"] --> LLM_classification_system
  Domain_expertise["Domain expertise"] --> Prompt_engineering_loop
  LLM_classification_system --> Aggregated_long_retention_tables["Aggregated long-retention tables"]
  Aggregated_long_retention_tables --> LLM_powered_dashboards["LLM-powered dashboards"]
  LLM_classification_system --> Root_cause_analysis_layer["Root-cause analysis layer"]
  LLM_powered_dashboards --> Cross_functional_product_response["Cross-functional product response"]
  Root_cause_analysis_layer --> Cross_functional_product_response
Drag to pan · scroll or use +/− to zoom · reconstructed from the source's described component topology

Components

Component Role Interacts with
User feedback bug reports Free-text reports submitted through in-app mechanisms such as shaking the phone. LLM classification system
LLM classification system Assigns each report to predefined categories for structured monitoring. User feedback bug reports, Prompt engineering loop, Aggregated long-retention tables
Prompt engineering loop Iteratively refines questions and instructions to improve consistent, actionable outputs. LLM classification system, Domain expertise
Domain expertise Subject matter experts define meaningful categories aligned with product and team goals. Prompt engineering loop, LLM classification system
Aggregated long-retention tables Privacy-compliant historical storage for classified bug-report signals. LLM classification system, LLM-powered dashboards
LLM-powered dashboards Monitoring layer for weekly reports, issue detection, filters, data quality checks, and threshold alerts. Aggregated long-retention tables, Cross-functional product response
Root-cause analysis layer Uses LLM rationalization to answer why users are experiencing problems. LLM classification system, Cross-functional product response
Cross-functional product response Engineering, product, and UX research teams use insights to prioritize fixes and product changes. LLM-powered dashboards, Root-cause analysis layer

Data flow

Users submit free-text bug reports through in-app mechanisms. An LLM classification layer assigns reports to predefined categories, prompt engineering and domain expertise refine accuracy, privacy-compliant aggregated long-retention tables store derived signals, and dashboards track trends, threshold alerts, root causes, and fix effectiveness for product teams.

3 supporting quotes
“We developed an LLM-based classification system that assigns each report to a pre-defined category.”article, stated
“we’ve created privacy-compliant, aggregated long retention tables to power our dashboard”article, stated
“Our dashboard visualizations offer a straightforward way to detect new issues and verify the effectiveness of fixes.”article, stated

Why this architecture

Meta uses LLMs to structure unstructured bug-report text into categories and root-cause narratives, but wraps the model in expert-defined taxonomy, dashboards, historical tables, and cross-functional action so the output becomes operational product-quality telemetry.

3 supporting quotes
“Understand complex and diverse user feedback at scale.”article, stated
“Domain knowledge was essential to define meaningful categories and ensure the outputs aligned with business needs and team goals.”article, stated
“This enabled us to regularly monitor key metrics, identify trends, and pinpoint areas for improvement”article, stated

Models used: LLMs · Llama · LLM-based classifier · prompt engineering · dashboard threshold monitors

Scale

Alternatives considered (roads not taken)

Human reviewers for bug-report analysis

Rejected because: Human review was resource-intensive, difficult to scale, and slower to generate insights.

“the human-review approach tends to be resource-intensive, challenging to scale, and harder to generate timely insights.”article, stated

Traditional ML models alone

Rejected because: Traditional models struggled to process and interpret unstructured feedback directly.

“traditional machine learning models offer some advantages, they sometimes fall short in processing and interpreting unstructured data directly.”article, stated

One-shot LLM automation without expert taxonomy

Rejected because: Reliable automation required domain expertise and iterative prompt engineering to define categories and align outputs.

“Getting to this automated stage, however, required significant human expertise and iterative prompt engineering.”article, stated
“Domain knowledge was essential to define meaningful categories”article, stated

Patterns

observability-tracing (operations)

LLM-powered dashboards and long-retention tables track bug-report categories, trends, thresholds, and fix effectiveness.

“We conduct weekly reporting and trend monitoring through our LLM-powered dashboards”article, stated
“Our dashboard has data quality checks and threshold monitors set up to alert us to potential issues”article, stated

eval-driven-development (product-quality)

Classified bug reports and root-cause insights guide product fixes, cross-functional collaboration, and measurement of bug-report reductions.

“LLM-guided insights, we collaborate with a wide range of cross-functional teams — including Engineering, Product Management, User Experience Research”article, stated
“verify the effectiveness of fixes.”article, stated

human-in-the-loop-gate (taxonomy)

Subject matter experts define meaningful categories and business-aligned goals before the LLM classification runs automatically.

“Domain knowledge was essential to define meaningful categories and ensure the outputs aligned with business needs and team goals.”article, stated

Tradeoffs

Use LLM classification plus expert taxonomy.

Chose Predefined categories with prompt engineering over Open-ended LLM interpretation of every report.

Rationale: Structured categories make free-text feedback monitorable over time, but require domain expertise upfront.

“assigns each report to a pre-defined category. This approach ensures structured understanding of unstructured feedback”article, stated
“Domain knowledge was essential to define meaningful categories”article, stated

Build dashboards and data pipelines after prototype value was shown.

Chose Privacy-compliant long-retention tables and dashboards over One-off analysis of bug-report classifications.

Rationale: A centralized view enables trend monitoring, issue detection, filtering, and long-term impact tracking.

“Once we have prototyped a first version, and seen its value in influencing product decisions, we started to consider scaling the data pipeline”article, stated
“dashboard for providing a centralized view of key metrics”article, stated

Gotchas (what bit them)

LLMs did not eliminate the need for expert setup.

Root cause: Categories and prompts had to align with business needs and team goals.

Resolution: Use subject-matter expertise and iterative prompt engineering before automating decisions.

“Getting to this automated stage, however, required significant human expertise and iterative prompt engineering.”article, stated
“testing different ways of framing questions and instructions to the model”article, stated

Traditional review and ML were too slow or weak for unstructured feedback.

Root cause: Bug reports arrive as diverse free-text descriptions that are expensive to review manually and hard for traditional models to interpret.

Resolution: Use LLM classification and dashboards to structure feedback and monitor daily/weekly trends.

“User feedback typically comes in unstructured formats, such as free-text descriptions, making it challenging to process and analyze at scale using traditional methods.”article, stated
“Uncover patterns through daily monitoring via dashboards.”article, stated

Obvious outages are not the only quality signal worth catching.

Root cause: Less visible bugs may be missed or detected late without systematic feedback analysis.

Resolution: Use LLM classification and trend dashboards to surface both obvious and subtle issue clusters.

“our method primarily identified less visible bugs that might have been missed and taken longer to detect otherwise.”article, stated
“While obvious bugs are quickly noticed and fixed, our approach helped catch additional issues”article, stated

Evaluation

Meta evaluated the system through real incident detection, weekly reporting, dashboard thresholds, root-cause usefulness, fix verification, and observed reductions in topline bug reports.

Metrics: weekly reporting · threshold monitors · multi-hour outage detection · double-digit bug-report reduction · fix effectiveness

3 supporting quotes
“Our LLM based approach immediately detected that and noticed that users were mainly complaining about “Feed Not Loading”, “Can’t post””article, stated
“Our dashboard visualizations offer a straightforward way to detect new issues and verify the effectiveness of fixes.”article, stated
“reducing topline bug reports by double digits over the last few months”article, stated

Outcomes

The source does not disclose report volume, but describes user bug reports at Facebook scale, weekly monitoring, and double-digit topline bug-report reduction.

3 supporting quotes
“users were mainly complaining about “Feed Not Loading”, “Can’t post”, etc in bug reports, alerting to an issue.”article, stated
“our approach helped catch additional issues and quickly fix them”article, stated
“Already, this methodology has successfully influenced product changes, demonstrating measurable, positive impacts throughout the user journey.”article, stated