Coder Social home page Coder Social logo

Comments (2)

csharrison avatar csharrison commented on June 25, 2024

Hey @k-o-ta , can you explain how you would propose the agg service:

  1. Scales different contributions with different values of scalingFactor?
  2. Applies noise when different contributions have different values of scalingFactor?

I am concerned this will be challenging to do privately. One of the properties of the existing system is that you can do rescaling after applying noise (and therefore is just post-processing private aggregates). It seems with your proposal you might need to do scaling before applying noise.

from attribution-reporting-api.

k-o-ta avatar k-o-ta commented on June 25, 2024

I apologize for the delay in my response. I understand your concerns.

  1. Scales different contributions with different values of scalingFactor?
    Yes
  2. Applies noise when different contributions have different values of scalingFactor?
    Yes

As you stated, we would lose the characteristic of being able to rescale after applying noise.

I was considering rescaling after applying noise to aggregatable reports with the same scaling factor.
For example,

  • three aggregatable reports with a scaling factor of 100. The values are 600, 500, and 400.
    • In this case, the aggregation service calculates 100*(600+500+400)+Noise1, then rescales to get 600+500+400+Noise1/100.
  • two aggregatable reports with a scaling factor of 200. The values are 300 and 200.
    • In this case, the aggregation service calculates 200*(300+200)+Noise2, then rescales to get 300+200+Noise2/200.

What the user ultimately gets is 600+500+400+Noise1/100+ 300+200+Noise2/200.

If we had initially set the scaling factor to 100, we would have gotten 600+500+400+300+200+Noise/100.
To summarize about Noise:

  • Noise1/100 + Noise2/200 == (Noise1/100 + 0.5Noise2/100)
  • Noise/100

In other words, we would compare Noise1 + 0.5Noise2 and Noise. If the distributions of Noise1, Noise2, and Noise are the same, this proposal might lead to a decrease in the accuracy of the summary report.

from attribution-reporting-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.