Closed Bug 1968369 Opened 2 months ago Closed 2 months ago

Add noise to ohttp merino request, ctr support for inferred newtab personalization

Categories

(Firefox :: New Tab Page, enhancement)

enhancement

Tracking

()

VERIFIED FIXED
141 Branch
Tracking Status
firefox140 --- verified
firefox141 --- verified

People

(Reporter: rrando, Assigned: rrando)

References

(Blocks 2 open bugs)

Details

Attachments

(2 files)

Add support in model for computing CTR using model type 'ctr'
Add support for adding laplace noise to the final outputs of the model, so that what is sent over ohttp is less identifiable over time

Assignee: nobody → rrando
Attachment #9490546 - Attachment description: Bug 1968369 - noise → Bug 1968369 - Add noise to ohttp merino request, ctr support for inferred newtab personalization
Blocks: 1970471

Comment on attachment 9490546 [details]
Bug 1968369 - Add noise to ohttp merino request, ctr support for inferred newtab personalization

Revision D251087 was moved to bug 1954604. Setting attachment 9490546 [details] to obsolete.

Attachment #9490546 - Attachment is obsolete: true
Attachment #9490546 - Attachment is obsolete: false
Pushed by sdowne@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/842b6f62b6b3 https://hg.mozilla.org/integration/autoland/rev/8063d7536a1e Add noise to ohttp merino request, ctr support for inferred newtab personalization r=thecount,home-newtab-reviewers,cgopal,mlplyler
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 141 Branch

Add support for 'ctr' style model that computes cliktrhough rates

Add noise_scale parameter that applies laplace noise to every numerical output in the model

Bug 1968369 - Add noise to ohttp merino request, ctr support for inferred newtab personalization r=reviewer

[...details if needed...]

Original Revision: https://phabricator.services.mozilla.com/D251087

Attachment #9493300 - Flags: approval-mozilla-beta?

firefox-beta Uplift Approval Request

  • User impact if declined: This would impact the timeline for the inferred personalization experiment to go out
  • Code covered by automated testing: yes
  • Fix verified in Nightly: yes
  • Needs manual QE test: yes
  • Steps to reproduce for manual QE testing: See test plan in https://phabricator.services.mozilla.com/D251087
  • Risk associated with taking this patch: Low
  • Explanation of risk level: This entire feature is behind a pref
  • String changes made/needed: No
  • Is Android affected?: no
Flags: qe-verify+
Attachment #9493300 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
QA Whiteboard: [uplift][qa-triage-done-c141/b140]

I have verified this enhancement using the latest Firefox Nightly 141.0a1 (Build ID: 20250617213038) build and Firefox Release Candidate 140.0 (Build ID: 20250616215311) on Windows 10 x64, macOS 15.5, and Ubuntu 24.04.1.

  • After using the testing steps from test plan, I’m able to see the “Personalized Data” section on ASRouter Devtools, and it contains the following values:
    • Inferred Intrests: {"clicks": 3, "model_id": "TEST"}
    • Coarse Inferred Interests: { "clicks": 1, "model_id": "TEST"}
    • Coarse Inferred Interests With Differential Privacy: { "values": ["0110", "001", "000", "100", "010", "000", "100", "100" ], "model_id": "TEST"}
Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: