<br />
<b>Deprecated</b>:  The each() function is deprecated. This message will be suppressed on further calls in <b>/home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php</b> on line <b>456</b><br />
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.10.0">Jekyll</generator><link href="https://haddadi.github.io/feed.xml" rel="self" type="application/atom+xml" /><link href="https://haddadi.github.io/" rel="alternate" type="text/html" /><updated>2026-05-25T17:09:15+00:00</updated><id>https://haddadi.github.io/feed.xml</id><title type="html">Hamed Haddadi</title><subtitle>Imperial College London &amp; Brave Software</subtitle><entry><title type="html">Guarantee</title><link href="https://haddadi.github.io/GuaranTEE/" rel="alternate" type="text/html" title="Guarantee" /><published>2024-04-21T00:00:00+00:00</published><updated>2024-04-21T00:00:00+00:00</updated><id>https://haddadi.github.io/GuaranTEE</id><content type="html" xml:base="https://haddadi.github.io/GuaranTEE/"><![CDATA[<p>Our work “GuaranTEE: Towards Attestable and Private ML with CCA” will appear at <a href="https://euromlsys.eu/">EuroMLSys</a> 2024! 🎉</p>

<p><a href="https://arxiv.org/abs/2404.00190">Paper</a> 
<a href="https://github.com/comet-cc/GuaranTEE">Code</a></p>

<p>This is joint work with Sina Abdollahi, Mohammad Maheri, Marios Kogias, and Sandra Siby.</p>

<p>We explore how Arm’s Confidential Computing Architecture (CCA) can be used to deploy private and attestable ML models on end devices. We develop a prototype on Arm’s Fixed Virtual Platform (FVP) simulator.</p>

<p>As CCA is still under development, to facilitate further research in this space, we’re releasing code and a setup guide. Check out our GitHub link above!</p>

<p>Chat with us at EuroMLSys later this month, and stay tuned for (longer) follow-up work in this direction!</p>]]></content><author><name></name></author><summary type="html"><![CDATA[Our work “GuaranTEE: Towards Attestable and Private ML with CCA” will appear at EuroMLSys 2024! 🎉]]></summary></entry><entry><title type="html">URKI EPSRC Open Plus Fellowship on Securing the Next Billion Consumer Devices on the Edge</title><link href="https://haddadi.github.io/EPRSCFellowship/" rel="alternate" type="text/html" title="URKI EPSRC Open Plus Fellowship on Securing the Next Billion Consumer Devices on the Edge" /><published>2021-10-26T00:00:00+00:00</published><updated>2021-10-26T00:00:00+00:00</updated><id>https://haddadi.github.io/EPRSCFellowship</id><content type="html" xml:base="https://haddadi.github.io/EPRSCFellowship/"><![CDATA[<p>Jan 2024: We are looking for a postdoctoral researcher to join us for my EPSRC fellowship. Please see the job ad here <a href="https://www.imperial.ac.uk/jobs/description/ENG02969/research-associate-user-centred-systems’-securityprivacy" target="_blank">https://www.imperial.ac.uk/jobs/description/ENG02969/research-associate-user-centred-systems’-securityprivacy</a>. Deadline : 30 Apr.</p>

<p>I am really excited to announce that I have been selected for an <a href="https://www.ukri.org/opportunity/epsrc-open-fellowship/">EPSRC Open Fellowship (Plus)</a> 2022-2027 with a funding of around £2m from the UKRI, the industry, and Imperial College London. Throughout the next 5-years, I’ll be working on providing better security and privacy for edge devices (IoT &amp; Browser), all the way from the on-device TEE to analytics done at the ISP end. The industrial supporters of the fellowship are : <a href="https://www.arm.com/resources/research">Arm Research</a>, <a href="https://www.telefonica.com/en/web/innovation/core-innovation">Telefonica I+D</a>, <a href="https://research.samsung.com/aicenter_cambridge">Samsung AI</a>, and <a href="https://research.cisco.com/">CISCO</a>.</p>

<p>As part of the Plus component of the fellowship, I will be closely working with The Information Commissioner’s Office (<a href="https://ico.org.uk/">ICO</a>) addressing the privacy recommendations and regulatory challenges raised by the consumer IoT sector and its data collection practices.</p>

<p>In this fellowship, I aim to address major challenge in the adoption of user-centred privacy-enhancing technologies by designing and evaluating an ecosystem where analytics from, and interaction with, consumer devices can happen with trust in the model and authenticity, while enabling auditing and personalisation, hence pushing today’s boundaries on all-or-nothing privacy and enabling new economic models. This approach requires designing for capabilities beyond the current trusted memory and processing limitations of the devices, and a cooperative dialogue and ecosystem involving service providers, ISPs, regulators, device manufacturers, and the end users. By designing our framework around the latest architectural and security features in edge devices, before they become commercially available, we provision for Model Privacy and a User-Centred ecosystem, where service providers can have trust in the authenticity, attestability, and trustworthiness of the valuable models running on user devices, without the users having to reveal sensitive personal information to these cloud-based centralised systems. This approach will enable advanced and sensitive edge-based analytics to be performed, without jeopardising the individuals’ privacy. Importantly, we aim to integrate mechanisms for data authenticity and attestation into our proposed framework, to enable trust in models and the data used by them. Such privacy-preserving technologies have the capacity to enable new forms of sensitive analytics, without sharing raw data and thereby providing legal balancing capabilities that might enable certain sensitive (or currently unlawful) data analysis.</p>

<p>I am really excited about the next 5 years! As part of the fellowship team, I will be recruiting a postdoctoral researcher, an engineer, and 2 PhD students. Watch out for adverts coming out soon! If you are thinking of applying for PhD with us, please get in touch and apply before February 2022.</p>]]></content><author><name></name></author><summary type="html"><![CDATA[Jan 2024: We are looking for a postdoctoral researcher to join us for my EPSRC fellowship. Please see the job ad here https://www.imperial.ac.uk/jobs/description/ENG02969/research-associate-user-centred-systems’-securityprivacy. Deadline : 30 Apr.]]></summary></entry><entry><title type="html">Analytics on the Edge (Privacy, Utility, and Cost)</title><link href="https://haddadi.github.io/EdgePrivacyCost/" rel="alternate" type="text/html" title="Analytics on the Edge (Privacy, Utility, and Cost)" /><published>2018-05-24T00:00:00+00:00</published><updated>2018-05-24T00:00:00+00:00</updated><id>https://haddadi.github.io/EdgePrivacyCost</id><content type="html" xml:base="https://haddadi.github.io/EdgePrivacyCost/"><![CDATA[<p>The rapid rise in the connected sensors, actuators, and their accompanying applications surrounding us, often collectively referred to as the Internet of Things (IoT) has lead to a growing interest and attention from the governments, the industry, the scientific community amongst other communities. The numerous opportunities presented by the IoT industry, however, often come at the cost of excessive energy usage, or privacy and security threats, in exchange for fine-grained sensing and data analytics. In this post, I advocate for the use of optimisation trade-offs between the utility and value gained from information, the privacy risks and security threats to the data subject, and the cost (e.g., energy and bandwidth) of performing the sensing and analytics. We argue for leveraging the network edge (i.e., the IoT device itself) to support this optimisation process and provide a cooperative framework between the edge and the cloud. Such an architecture will play a pivotal role in protecting the individuals’ privacy, while reducing the cost of the operation and the privacy and security risks.</p>

<ul>
  <li>Introduction</li>
</ul>

<p>There is a rapid introduction of the Internet of Things (IoT) devices in our daily lives, from always-on voice-enabled home assistants such as Amazon Alexa and Google Home, to smart thermostats, plugs, toys, and remote monitoring devices. <a href="https://www.gartner.com/newsroom/id/3598917">Gartner predicts</a> that by 2020, we will have over 20 Billion IoT devices in use and connected to the Internet. Presence of such a large number of devices will introduce new challenges in connectivity, data management, privacy, and security.</p>

<p>In parallel with this trend in IoT, advances in machine learning, particularly unsupervised methods such as Deep Learning, on mobile and edge devices have enabled these devices to act as part of the whole data analytics ecosystem, performing a first set of local inferences (e.g., activity recognition on a smartphone), hence redeeming the network from transmitting costly, raw sensor data to the cloud. These challenges can be broadly categorised as the tension between data quality, the cost of obtaining such data, and the privacy (and arguably security) consequences.</p>

<ul>
  <li>Motivations</li>
</ul>

<p>Personal IoT devices might collect a range of rich, sensitive devices about individuals and households. In addition to the privacy risks of exposing these data to their primary collectors, third parties with access to these data also pose security and privacy threats. These include data from autonomous vehicles, smart meters, home security systems, child monitors, and personal health and well-being devices.</p>

<p>Today’s IoT ecosystem relies on continuous data collection and offloading to cloud services. As the numbers and complexity of these devices grows, this modus operandi can have dire network/energy costs and privacy consequences, especially considering the huge volumes of data generated by some of these systems. On the other hand, relying on performing complex data analytics on the device, or encryption-based methods, impose resource constraints (e.g., storage and bandwidth constraints, energy limitations, or computational costs) and jeopardise the user experience. Cryptography-based approaches for data encryption and analytics are often too costly and complex to implement on IoT devices protecting these data. The promise of edge computing, i.e., relying on complete local analytics can also introduce a burden for devices, as most machine learning models are large and complex.</p>

<table>
  <thead>
    <tr>
      <th style="text-align: center"><img src="https://github.com/haddadi/haddadi.github.io/blob/master/images/2018/HybridEngine.png?raw=true" height="150" width="400" /></th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td style="text-align: center">Hybrid Analytic Engine</td>
    </tr>
  </tbody>
</table>

<p>Her we advocate for a cooperative, hybrid approach between the edge and the cloud. The high-level overview of this scheme is visualised in Figure above, the raw sensor data goes through an initial layer of feature extraction on the device using lightweight, simple models to perform dimensional reduction and compression, while providing a privacy shield against detailed, invasive analysis using well-known privacy techniques. The more complex and intensive analytics take place at the cloud server. One of the primary objectives of this scheme is to separate the feature extraction and the inference phase between the edge device and the cloud. This approach can potentially lead to a reduction in data transmission to the cloud and removal of potentially sensitive information during the feature extraction phase on the edge node. The extracted features are then transferred to the cloud server for post-processing and finally the user receives the results from the cloud.</p>

<ul>
  <li>Challenges and Opportunities</li>
</ul>

<p>There are a number of future directions which naturally follow on from advances in edge computing for the IoT domains. Techniques such as Federated Learning can directly benefit from the proposed hybrid edge-cloud schemes, where nano-updates can be aggregated in a centralised fashion without the threat of de-identification faced by traditional machine learning models. Further, Privacy-preserving approaches such as Auto-encoders or differential privacy can be employed on edge devices to help protect against privacy threats facing traditional deep-learning and federated learning models.</p>

<p>The approach proposed in this vision might not be the silver bullet in defending against IoT security and privacy attacks, or limiting all the bandwidth requirements of future IoT systems. However, research in this area provides a promising direction in improving the status quo and providing a framework for balancing the trade-offs between risks and threats (privacy-security), utility, and operational costs in a broad setting.</p>

<ul>
  <li>References</li>
</ul>

<p>[1]  N. Apthorpe, D. Reisman, S. Sundaresan, A. Narayanan, and N. Feamster, “Spying on the smart home: Privacy attacks and defenses on encrypted IoT traffic”, CoRR, abs/1708.05044, 2017.</p>

<p>[2]  R. C. Geyer, T. Klein, and M. Nabi. “Differentially private federated learning: A client level perspective”, CoRR, abs/1712.07557, 2017.</p>

<p>[3]  B. Hitaj, G. Ateniese, and F. Perez-Cruz, “Deep models under the GAN: Information leakage from collaborative deep learning”, In Proceedings of the 2017 ACM SIGSAC Conference on Computer and Communications Security, CCS ’17, pages 603–618, New York, NY, USA, 2017. ACM.</p>

<p>[4]  J. Konecny, H. B. McMahan, F. X. Yu,P. Richtarik, A. T. Suresh, and D. Bacon, “Federated learning:  Strategies for improving communication efficiency”, CoRR, abs/1610.05492,2016.</p>

<p>[5]  M. Malekzadeh, R. G. Clegg, A. Cavallaro, and H. Haddadi, “Protecting sensory data against sensitive inferences”, In Proceedings of the 1st Workshop on Privacy by Design in Distributed Systems, W-P2DS’18, pages 2:1–2:6, New York, NY, USA, 2018. ACM.</p>

<p>[6]  S. A. Osia, A. S. Shamsabadi, A. Taheri, H. R.Rabiee, and H. Haddadi, “Private and scalable personal data analytics using a hybrid edge-cloud deep learning”, IEEE Computer, 2018.</p>

<p>[7]  C. Zhang, P. Patras, and H. Haddadi, “Deep learning in mobile and wireless networking:  A survey”, arXiv preprint arXiv:1803.04311, 2018.</p>]]></content><author><name></name></author><summary type="html"><![CDATA[The rapid rise in the connected sensors, actuators, and their accompanying applications surrounding us, often collectively referred to as the Internet of Things (IoT) has lead to a growing interest and attention from the governments, the industry, the scientific community amongst other communities. The numerous opportunities presented by the IoT industry, however, often come at the cost of excessive energy usage, or privacy and security threats, in exchange for fine-grained sensing and data analytics. In this post, I advocate for the use of optimisation trade-offs between the utility and value gained from information, the privacy risks and security threats to the data subject, and the cost (e.g., energy and bandwidth) of performing the sensing and analytics. We argue for leveraging the network edge (i.e., the IoT device itself) to support this optimisation process and provide a cooperative framework between the edge and the cloud. Such an architecture will play a pivotal role in protecting the individuals’ privacy, while reducing the cost of the operation and the privacy and security risks.]]></summary></entry><entry><title type="html">Wearables - the Last Year’s Hype</title><link href="https://haddadi.github.io/WearableTechHype/" rel="alternate" type="text/html" title="Wearables - the Last Year’s Hype" /><published>2018-03-23T00:00:00+00:00</published><updated>2018-03-23T00:00:00+00:00</updated><id>https://haddadi.github.io/WearableTechHype</id><content type="html" xml:base="https://haddadi.github.io/WearableTechHype/"><![CDATA[<p>More and more devices, claiming to make us fitter, stronger, and healthier were flooding the marked over the last couple of years. While those devices started out as mere ‘smart’ pedometers to count our steps during the day and magically transferring the collected data to the cloud for users to view in online dashboards or on their phone. Over the years, additional sensors and metrics, such as sleep quality, heart rate, VOmax or even stress have been added to those smart gadgets. But the question remains: How smart, accurate and suitable are those wearables really?</p>

<p>We were especially interested in the claim that those wristwatches can measure and track stress. The newest generation of devices from Garmin  promise to keep track of users stress levels. A lot of stuff happens within our body when we get stressed: Our heart beats faster, muscles tension increases, our skin gets sweaty to cool down our body, and respectively our surface temperature drops due to the blood flow being diverted to the centre of our body. All those things can be measured with unobtrusive sensors, such as heart rate monitors, skin conductance sensors and skin surface thermometers. Consumer wearables already contain those sensors. But are they sensitive enough to detect subtle changes in the case of stress? Let’s find out.</p>

<p>We conducted a study [1] where we equipped participants with 3 consumer wearables and a professional laboratory device whilst they were performing some relaxing and stressful tasks (solving mental arithmetic tasks). To induce more real-world conditions, where people are moving around, we did this two times: once while participants were sitting still and once while walking on a treadmill. For the devices, we chose two fitness wristbands/smartwatches: the Microsoft Band and Apple Watch. We also tested the Polar H7, which is a chest strap to detect heart beats and send the data to the phone.</p>

<p>What we found first of all (and not a very new finding): Wearables get more unreliable in measuring heart rate when people are moving opposed to sitting still. While people were sitting, the mean error percentage compared to the laboratory device was between 3 to 5%. Walking on a treadmill increased this error to 10 to 19%. Especially the wrist devices were prone to a higher error rate. Those wrist devices use an optical sensor to detect heart beats; they emit a green light and optically pick up the blood flow under the skin. Most fitness trackers rely on this technology, but it has its faults (like the scandal about the first gen Apple watches which had problems with heart rate readings on darker or tattooed skin [1] or the fact that it gets more unreliable under movement or when wristbands are worn to tight). The more reliable and older approach is to use electrical signals to detect the heart beats directly at the chest, like the Polar H7 does - but of course that is less convenient for a device which is worn all day.</p>

<p>Further, we found that the expensive reference device was the only device to show that it picked up the stress responses (increased heart rate, increased skin sweatiness and decrease in skin temperature) during our stress task in a statistically valid manner - and just while participants were seated. We could not find any statistical effects for any of the devices for when people were walking on the treadmill (due to all of the sensors, even the reference device, becoming more unreliable).</p>

<p>What do we learn from this: While those nifty smartwatches and fitness trackers are convenient and comfortable, their data has to be taken with a grain of salt and the sensors are just very prone to movement and various factors. Especially such claims that a fitness tracker can tell you when you are stressed, should be further investigated and evaluated.</p>

<p>[1] Katrin Hänsel, Romina Kettner, Hamed Haddadi, Akram Alomainy, Albrecht Schmidt,  “What to Put on the User: Sensing Technologies for Studies and Physiology Aware Systems”, Proceedings of the ACM Conference on Human Factors in Computing Systems (<a href="https://chi2018.acm.org">ACM CHI’18</a>), Montréal, Canada, April 21-26, 2018. (<a href="https://haddadi.github.io/papers/CHI2018sensing.pdf" target="_blank">paper</a>)</p>

<p>[2] <a href="https://qz.com/394694/people-with-dark-skin-and-tattoos-report-the-apple-watch-is-having-trouble-determining-they-are-alive/">People with tattoos report the Apple Watch is having trouble determining they are alive — Quartz</a></p>

<table>
  <thead>
    <tr>
      <th style="text-align: center"><img src="https://github.com/haddadi/haddadi.github.io/blob/master/images/2018/Wearables.png?raw=true" height="300" width="400" /></th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td style="text-align: center">Illustrative schematic of the design space evaluation for our 4 test devices (Nexus, Polar, Apple Watch, Microsoft Band) in 5 criteria dimensions (data reliability, comfort of attachment, mobility, data richness, and data accessibility)</td>
    </tr>
  </tbody>
</table>]]></content><author><name></name></author><summary type="html"><![CDATA[More and more devices, claiming to make us fitter, stronger, and healthier were flooding the marked over the last couple of years. While those devices started out as mere ‘smart’ pedometers to count our steps during the day and magically transferring the collected data to the cloud for users to view in online dashboards or on their phone. Over the years, additional sensors and metrics, such as sleep quality, heart rate, VOmax or even stress have been added to those smart gadgets. But the question remains: How smart, accurate and suitable are those wearables really?]]></summary></entry><entry><title type="html">Privacy-Preserving time-Series Data Analysis</title><link href="https://haddadi.github.io/Privacy-Preserving-Sensory-Analysis/" rel="alternate" type="text/html" title="Privacy-Preserving time-Series Data Analysis" /><published>2018-02-27T00:00:00+00:00</published><updated>2018-02-27T00:00:00+00:00</updated><id>https://haddadi.github.io/Privacy-Preserving-Sensory-Analysis</id><content type="html" xml:base="https://haddadi.github.io/Privacy-Preserving-Sensory-Analysis/"><![CDATA[<p>An increasing number of sensors on mobile, Internet of things (IoT), and wearable devices generate time-series measurements of physical activities. Though access to the sensory data is critical to the success of many beneficial applications such as health monitoring or activity recognition, a wide range of potentially sensitive information about the individuals can also be discovered through access to sensory data and this cannot easily be protected using traditional privacy approaches.</p>

<p>Specifically, there are two ways of drawing sensitive inferences from time-series (sensor, IoT, etc) data :
(1) <em>Temporal Inferences</em>, that means each section of time-series can be assigned to a specific inference, sensitive or non-sensitive (including  desired information that users gain utility from sharing them).
(2) <em>Concurrent Inferences</em>, that means information available in each section of time-series can be used to make both sensitive and non-sensitive inferences.</p>

<table>
  <thead>
    <tr>
      <th style="text-align: center"><img src="https://raw.githubusercontent.com/mmalekzadeh/motion-sense/master/materials/temporal_inf.png" class="img-responsive" /></th>
      <th style="text-align: center"><img src="https://raw.githubusercontent.com/mmalekzadeh/motion-sense/master/materials/concurrent_inf.png" class="img-responsive" /></th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td style="text-align: center">Temporal Inferences</td>
      <td style="text-align: center">Concurrent Inferences</td>
    </tr>
  </tbody>
</table>

<p>Recently, we have been working on enabling privacy-preserving techniques for time-series data. This is an area where solutions are slightly more challenging than traditional methods used in databases or spatial data like Differential-Privacy or k-anonymity. Through the works of PhD candidate <a href="https://mmalekzadeh.github.io/" target="_blank">Mohammad Malekzadeh</a> We have been investigating new method to address the challenges in this space.</p>

<p>1) Replacement AutoEncoder: A Privacy-Preserving Algorithm for Sensory Data Analysis
Paper: <a href="https://arxiv.org/abs/1710.06564">https://arxiv.org/abs/1710.06564</a></p>

<p>In this paper, we propose a privacy-preserving sensing framework for managing access to time-series data in order to protecting <em>temporal inferences</em>. We introduce <em>Replacement AutoEncoder</em>(RAE), a novel algorithm which learns how to transform discriminative features of data that correspond to sensitive inferences,  into some features that have been more observed in non-sensitive inferences, to protect users’ privacy. This efficiency is achieved by defining a user-customized objective function for deep autoencoders.
We also used <a href="https://en.wikipedia.org/wiki/Generative_adversarial_network" target="_blank">GAN</a>s to see if an attacker can detect when non-sensitive activity inferred from data is actually a replacement of a sensitive one, not a real non-sensitive activity. We show that this will only be possible if a GAN is trained on the users’ original, unmodified data.</p>

<table>
  <thead>
    <tr>
      <th style="text-align: center"><img src="https://raw.githubusercontent.com/mmalekzadeh/motion-sense/master/materials/rae.png" class="img-responsive" /></th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td style="text-align: center">Replacement AutoEncoder (RAE)</td>
    </tr>
  </tbody>
</table>

<p>2) Protecting Sensory Data against Sensitive Inferences
Paper: <a href="https://arxiv.org/abs/1802.07802">https://arxiv.org/abs/1802.07802</a></p>

<p>In this paper we propose a data transformation architecture inspired by GANs for protecting <em>concurrent inferences</em>. Here, we set up a GANs-like game between a data transformer model (Guardian) and an information extractor model (Estimator), in a way that Estimator helps Guardian to efficiently transform data for providing a good utility-privacy tradeoff. As a usecase, we show that it maintains the usefulness of the transformed data for activity recognition (with around an average loss of three percentage points) while almost eliminating the possibility of gender classification (from more than 90% to around 50%, the target random guess).</p>

<table>
  <thead>
    <tr>
      <th style="text-align: center"><img src="https://raw.githubusercontent.com/mmalekzadeh/motion-sense/master/materials/gen.png" height="300" width="400" /></th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td style="text-align: center">Guardian Estimator Neutralizer (GEN)</td>
    </tr>
  </tbody>
</table>

<p>This work comes alognside the <a href="https://github.com/mmalekzadeh/motion-sense">MotionSense Dataset</a> time-series data generated by accelerometer and gyroscope sensors (attitude, gravity, userAcceleration, and rotationRate). It is collected with an iPhone 6s kept in the participant’s front pocket using SensingKit which collects information from Core Motion framework on iOS devices. A total of 24 participants in a range of gender, age, weight, and height performed 6 activities in 15 trials in the same environment and conditions: downstairs, upstairs, walking, jogging, sitting, and standing. With this dataset, we aim to look for personal attributes fingerprints in time-series of sensor data, i.e. attribute-specific patterns that can be used to infer gender or personality of the data subjects in addition to their activities.</p>

<p>I hope you find these useful and interesting. We are always looking forward to comments and interesting ideas.</p>]]></content><author><name></name></author><summary type="html"><![CDATA[An increasing number of sensors on mobile, Internet of things (IoT), and wearable devices generate time-series measurements of physical activities. Though access to the sensory data is critical to the success of many beneficial applications such as health monitoring or activity recognition, a wide range of potentially sensitive information about the individuals can also be discovered through access to sensory data and this cannot easily be protected using traditional privacy approaches.]]></summary></entry><entry><title type="html">Privacy-Preserving Analytics using Edge Computing</title><link href="https://haddadi.github.io/privacy-preserving-edge-computing/" rel="alternate" type="text/html" title="Privacy-Preserving Analytics using Edge Computing" /><published>2017-10-06T00:00:00+00:00</published><updated>2017-10-06T00:00:00+00:00</updated><id>https://haddadi.github.io/privacy-preserving-edge-computing</id><content type="html" xml:base="https://haddadi.github.io/privacy-preserving-edge-computing/"><![CDATA[<p>A recent <a href="http://iot.eng.wayne.edu/edge/NSF%20Edge%20Workshop%20Report.pdf">NSF report</a> and a number of security and privacy disasters in the IoT space (see the <a href="https://www.schneier.com/blog/archives/2017/02/security_and_pr.html">blog post</a> on Schneier’s blog) highlighted the challenges and opportunities in Edge Computing, leveraging the high processing capabilities and low latency offered at the edge of the network (IoT devices, smartphones, cloudlets) for achieving scalable yet secure and private analytics. Recently we put a few papers on ArXiv, focusing on Privacy-Preserving Analytics using smartphones and constrained devices on the network (such as a Raspberry Pi and Smartphones). I encourage the privacy, machine learning, and mobile computing enthusiasts to read these papers and kindly provide us with any feedback on the analytics which can improve the research efforts in this space.</p>

<ul>
  <li>Seyed Ali Osia, Ali Shahin Shamsabadi, Ali Taheri, Kleomenis Katevas, Hamid R. Rabiee, Nicholas D. Lane, Hamed Haddadi, “Privacy-Preserving Deep Inference for Rich User Data on The Cloud”, Available on ArXiv, October 2017. (<a href="https://arxiv.org/abs/1710.01727">paper</a>)</li>
</ul>

<p>Deep neural networks are increasingly being used in a variety of machine learning applications applied to rich user data on the cloud. However, this approach introduces a number of privacy and efficiency challenges, as the cloud operator can perform secondary inferences on the available data. Recently, advances in edge processing have paved the way for more efficient, and private, data processing at the source for simple tasks and lighter models, though they remain a challenge for larger, and more complicated models. In this paper, we present a hybrid approach for breaking down large, complex deep models for cooperative, privacy-preserving analytics. We do this by breaking down the popular deep architectures and fine-tune them in a particular way. We then evaluate the privacy benefits of this approach based on the information exposed to the cloud service. We also asses the local inference cost of different layers on a modern handset for mobile applications. Our evaluations show that by using certain kind of fine-tuning and embedding techniques and at a small processing costs, we can greatly reduce the level of information available to unintended tasks applied to the data feature on the cloud, and hence achieving the desired tradeoff between privacy and performance.</p>

<ul>
  <li>Sandra Servia-Rodriguez, Liang Wang, Jianxin R. Zhao, Richard Mortier, Hamed Haddadi, “Personal Model Training under Privacy Constraints”, Available on ArXiv, March 2017. <a href="https://arxiv.org/abs/1703.00380">paper</a></li>
</ul>

<p>Many current Internet services rely on inferences from models trained on user data. Commonly, both the training and inference tasks are carried out using cloud resources fed by personal data collected at scale from users. Holding and using such large collections of personal data in the cloud creates privacy risks to the data subjects, but is currently required for users to benefit from such services. We explore how to provide for model training and inference in a system where computation is moved to the data in preference to moving data to the cloud, obviating many current privacy risks. Specifically, we take an initial model learnt from a small set of users and retrain it locally using data from a single user. We evaluate on two tasks: one supervised learning task, using a neural network to recognise users’ current activity from accelerometer traces; and one unsupervised learning task, identifying topics in a large set of documents. In both cases the accuracy is improved. We also demonstrate the feasibility of our approach by presenting a performance evaluation on a representative resource-constrained device (a Raspberry Pi).</p>

<ul>
  <li>Seyed Ali Ossia, Ali Shahin Shamsabadi, Ali Taheri, Hamid R. Rabiee, Nic Lane, Hamed Haddadi, “A Hybrid Deep Learning Architecture for Privacy-Preserving Mobile Analytics”, Available on ArXiv, March 2017. <a href="https://arxiv.org/abs/1703.02952">paper</a></li>
</ul>

<p>The increasing quality of smartphone cameras and variety of photo editing applications, in addition to the rise in popularity of image-centric social media, have all led to a phenomenal growth in mobile-based photography. Advances in computer vision and machine learning techniques provide a large number of cloud-based services with the ability to provide content analysis, face recognition, and object detection facilities to third parties. These inferences and analytics might come with undesired privacy risks to the individuals. 
In this paper, we address a fundamental challenge: Can we utilize the local processing capabilities of modern smartphones efficiently to provide desired features to approved analytics services, while protecting against undesired inference attacks and preserving privacy on the cloud? We propose a hybrid architecture for a distributed deep learning model between the smartphone and the cloud. We rely on the Siamese network and machine learning approaches for providing privacy based on defined privacy constraints. We also use transfer learning techniques to evaluate the proposed method. Using the latest deep learning models for Face Recognition, Emotion Detection, and Gender Classification techniques, we demonstrate the effectiveness of our technique in providing highly accurate classification results for the desired analytics, while proving strong privacy guarantees.</p>]]></content><author><name></name></author><summary type="html"><![CDATA[A recent NSF report and a number of security and privacy disasters in the IoT space (see the blog post on Schneier’s blog) highlighted the challenges and opportunities in Edge Computing, leveraging the high processing capabilities and low latency offered at the edge of the network (IoT devices, smartphones, cloudlets) for achieving scalable yet secure and private analytics. Recently we put a few papers on ArXiv, focusing on Privacy-Preserving Analytics using smartphones and constrained devices on the network (such as a Raspberry Pi and Smartphones). I encourage the privacy, machine learning, and mobile computing enthusiasts to read these papers and kindly provide us with any feedback on the analytics which can improve the research efforts in this space.]]></summary></entry><entry><title type="html">Workshop on Decentralized Machine Learning, Optimization and Privacy (Sep 11-12, 2017)</title><link href="https://haddadi.github.io/InriaWorkshop/" rel="alternate" type="text/html" title="Workshop on Decentralized Machine Learning, Optimization and Privacy (Sep 11-12, 2017)" /><published>2017-09-12T00:00:00+00:00</published><updated>2017-09-12T00:00:00+00:00</updated><id>https://haddadi.github.io/InriaWorkshop</id><content type="html" xml:base="https://haddadi.github.io/InriaWorkshop/"><![CDATA[<h1 id="schedule-and-slides-available-on">Schedule and slides available on:</h1>
<p><a href="https://team.inria.fr/magnet/workshop-on-decentralized-machine-learning-optimization-and-privacy/">https://team.inria.fr/magnet/workshop-on-decentralized-machine-learning-optimization-and-privacy/</a></p>

<p>I attended the INRIA Lille Magnet (MAchine learninG in information NETworks) Workshop on Decentralized Machine Learning, Optimization and Privacy. Here’s a brief summary of some of the amazing talks on machine learning, edge processign, and privacy-preserving analytics.</p>

<h2 id="talk-sessionchair-sébastien-gambs">Talk session (chair: Sébastien Gambs)</h2>

<ul>
  <li>Stephen Hardy: Learning nothing but the model [&lt;<a href="https://www.google.com/url?q=https://team.inria.fr/magnet/files/2017/08/talk_hardy.txt&amp;sa=D&amp;ust=1505233712595000&amp;usg=AFQjCNEdocsc6s2dTJI_pDAb6Htjx5AzoQ">abstract</a>]</li>
</ul>

<p>Stephen talked about the problem of joint analysis of data across multiple organisations. They have done trials with organisations on this problem, for applications such as data sharing for organisations,  cross-governance-boundary analytics, PDM, and analytics across device data. Their solutions include [partial] homomorphic encryption, graph computation engine, and private entity resolutions. PER works by sharing secret salt from a hashing process.</p>

<p>The examples include credit scoring for example, hence sensitive data across organisations on-premises or in cloud, has to be analysed independently for predictions around credit failing. Hundreds of features can be included from the two organisations to run joint logistic regression (simple to do and explainable). However the process still reveals whether the same entity exists on both datasets hence it requires consent. Private learning is about 500x slower on encrypted data, however a score can be generated in real time.Customer feedback indicates a strong emphasis on learning the model rather than finding common users. In order to deal with this, they have created an encrypted mask in the reordering and matching stage at the broker to break the linkage possibility. They use Taylor approximation to logistic loss in order to reduce feature space size and regularise them. Some implementation code available on: &lt;<a href="https://www.google.com/url?q=https://github.com/n1analytics&amp;sa=D&amp;ust=1505233712595000&amp;usg=AFQjCNG4vrAOIFL3tUqxAo-osaeU9IZYNQ">https://github.com/n1analytics</a> </p>

<ul>
  <li>Borja Balle: Secure Multi-Party Linear Regression on High-Dimensional Data [&lt;<a href="https://www.google.com/url?q=https://team.inria.fr/magnet/files/2017/08/talk_balle.txt&amp;sa=D&amp;ust=1505233712596000&amp;usg=AFQjCNGrWfa10sJguiy88PKn5AVQ_C-MXg">abstract</a>]</li>
</ul>

<p>Borja presented a similar problem set, working with multi-party differential privacy to address the trusted third party challenge of access to training data. Some of the challenges have been framed as an optimization problem. The optimisation has been implemented as a multi-party Ridge regression. Borja presented the challenges in this space (MPC protocol, scalability, privacy guarantees, etc). This can be addressed by using separate crypto providers, data providers, computing providers, and data providers. Hence differential privacy can be done at the output to help with scalability. The PETS paper and the open source implementation are available online.</p>

<h2 id="poster-spotlightsposter-list">Poster spotlights [<a href="https://www.google.com/url?q=https://team.inria.fr/magnet/files/2017/09/posters.txt&amp;sa=D&amp;ust=1505233712596000&amp;usg=AFQjCNGxvP6SkLHe_PbXZ8nTk1QIltALxg">poster list</a>]</h2>

<h2 id="talk-sessionchair-joseph-salmon">Talk session (chair: Joseph Salmon)</h2>

<ul>
  <li>Mikael Johansson: Sparsity and asynchrony in distributed optimization: models and convergence results [&lt;<a href="https://www.google.com/url?q=https://team.inria.fr/magnet/files/2017/08/talk_johansson.txt&amp;sa=D&amp;ust=1505233712597000&amp;usg=AFQjCNGhP0cVF541XKfyXD2jx-lYZqmnRg">abstract</a>]</li>
</ul>

<p>Mikael covered optimization for large-scale learning and issues such as centralised versus distributed, or asynchronous versus synchronous.</p>

<ul>
  <li>Peter Richtárik: Privacy preserving randomized gossip algorithms [&lt;<a href="https://www.google.com/url?q=https://team.inria.fr/magnet/files/2017/09/talk_richtarik.txt&amp;sa=D&amp;ust=1505233712598000&amp;usg=AFQjCNFHnPd8lfdpNiOEdmSUMoOtXK9CkA">abstract</a>]</li>
</ul>

<h2 id="talk-sessionchair-morten-dahl">Talk session (chair: Morten Dahl)</h2>

<ul>
  <li>Meilof Veeningen: Distributed Privacy-Preserving Data Mining in the Medical Domain[&lt;<a href="https://www.google.com/url?q=https://team.inria.fr/magnet/files/2017/08/talk_veeningen.txt&amp;sa=D&amp;ust=1505233712598000&amp;usg=AFQjCNEb32Q8vD5xYVz4Xjdf8EVzCxgVOg">abstract</a>]</li>
</ul>

<p>Meilof discussed the IoT and medical devices that Philips develops and their interest in data science. Decentralised ML is important for building personalised models where privacy and accuracy are both critical. Experiments are often useful for understanding workflows and hospital patient movement. Using MPC it is possible to perform privacy-preserving tracking and analytics. Examples can include multi-hospital analytics of patient data using differential privacy. PErformance and acceptance by all parties remains a challenge.</p>

<h2 id="talk-sessionchair-aurélien-bellet">Talk session (chair: Aurélien Bellet)</h2>

<ul>
  <li>Keith Bonawitz: Federated Learning: Privacy-Preserving Collaborative Machine Learning without Centralized Training Data [&lt;<a href="https://www.google.com/url?q=https://team.inria.fr/magnet/files/2017/08/talk_bonawitz.txt&amp;sa=D&amp;ust=1505233712599000&amp;usg=AFQjCNGwZfvJTgkENpHqPDbXGhCBs3DNyg">abstract</a>]</li>
</ul>

<p>Keith presented the Google Federated learning approach for learning on the device. The sensitive data stored on the phone makes the personalised training a unique challenge to build a central model to be equivalent to all the individually trained models. This can be useful for multitask learning, and learning to learn. He presented a number of papers in topics such as federated learning or distributed mean estimation with limited communications (ICML 2017). Secure aggregation (using SMPC) is an important aspect here in moving away from keeping large datasets to ephemeral data from focused trained models. Using pairwise Diffie-Hellman key agreements they enable secret model sharing across users. Hence updates can be aggregated while not being inspected. Differential privacy can be useful here for aggregating results from queries across multiple databases.</p>

<ul>
  <li>Dan Alistarh: Quantized Stochastic Gradient Descent [&lt;<a href="https://www.google.com/url?q=https://team.inria.fr/magnet/files/2017/08/talk_alistarh.txt&amp;sa=D&amp;ust=1505233712600000&amp;usg=AFQjCNHge2D93siiuh_jcCJw7ewe-xdZWQ">abstract</a>]</li>
</ul>

<p>Dan presented the computational challenges in large-scale model training.</p>

<h2 id="talk-sessionchair-george-giakkoupis">Talk session (chair: George Giakkoupis)</h2>

<ul>
  <li>Hamed Haddadi: Containing Personal Data Processing with the Databox [&lt;<a href="https://www.google.com/url?q=https://team.inria.fr/magnet/files/2017/08/talk_haddadi.txt&amp;sa=D&amp;ust=1505233712601000&amp;usg=AFQjCNG25Fohoqz2l5Tf22WJTGW7PHTT4A">abstract</a>]</li>
</ul>

<p>I presented the Databox Project.</p>]]></content><author><name></name></author><summary type="html"><![CDATA[Schedule and slides available on: https://team.inria.fr/magnet/workshop-on-decentralized-machine-learning-optimization-and-privacy/]]></summary></entry><entry><title type="html">Designing an open source IoT Hub with MQTT and Android</title><link href="https://haddadi.github.io/IotHub/" rel="alternate" type="text/html" title="Designing an open source IoT Hub with MQTT and Android" /><published>2017-09-01T00:00:00+00:00</published><updated>2017-09-01T00:00:00+00:00</updated><id>https://haddadi.github.io/IotHub</id><content type="html" xml:base="https://haddadi.github.io/IotHub/"><![CDATA[<p>With constantly evolving hardware and increased competitiveness from manufacturers in the construction of the IoT enabled home, the difficulty in managing and securing the multitude of internet enabled devices at any individual’s disposal is ever greater, with competing applications tailored to manage Bluetooth devices, Wi-Fi Direct or NFC enabled “things”. While the means of connectivity are ever increasing, the lack of a single standard of IoT connectivity as well as the lack of a single interoperability solution difficult consumer adoption of an internet enabled home.</p>

<p>The solution to these issues is here presented in the form of a single, simple, user-friendly interface that can be intuitively used by any consumer. Pairing this interface with an optimal communication protocol will assist in bridging the interoperability gap and provide the necessary abstraction layer to facilitate the interchange of data regardless of which device is being used. This paper proposes that the solution for both these issues lies with leveraging the capabilities of mobile devices, in this case particularly targeting Android, paired with an integration of the lightweight communication protocol MQTT.</p>

<p>See the full text PDF for details:</p>

<p><a href="https://haddadi.github.io/papers/IoThub2017.pdf">Designing an open source IoT Hub: bridging interoperability and security gaps with MQTT and your Android device</a></p>]]></content><author><name></name></author><summary type="html"><![CDATA[With constantly evolving hardware and increased competitiveness from manufacturers in the construction of the IoT enabled home, the difficulty in managing and securing the multitude of internet enabled devices at any individual’s disposal is ever greater, with competing applications tailored to manage Bluetooth devices, Wi-Fi Direct or NFC enabled “things”. While the means of connectivity are ever increasing, the lack of a single standard of IoT connectivity as well as the lack of a single interoperability solution difficult consumer adoption of an internet enabled home.]]></summary></entry><entry><title type="html">The 2nd workshop on Personal Data Systems, Sommarøy, Norway (PDS 2017)</title><link href="https://haddadi.github.io/PDS2017/" rel="alternate" type="text/html" title="The 2nd workshop on Personal Data Systems, Sommarøy, Norway (PDS 2017)" /><published>2017-08-17T00:00:00+00:00</published><updated>2017-08-17T00:00:00+00:00</updated><id>https://haddadi.github.io/PDS2017</id><content type="html" xml:base="https://haddadi.github.io/PDS2017/"><![CDATA[<h1 id="hosted-by-the-department-of-computer-science-uit--the-arctic-university-of-norway-schedule-and-slides-available-on">Hosted by the Department of Computer Science, UiT – The Arctic University of Norway, Schedule and slides available on:</h1>
<p><a href="http://www.corporesano.no/eventspersonal-data-systems-workshop-2017pds-2017-program-preliminary/">http://www.corporesano.no/eventspersonal-data-systems-workshop-2017pds-2017-program-preliminary/</a></p>

<p><img src="/images/2017/20863236_10101316253865530_7293483629284966664_o.jpg" alt="Sommarøy" /></p>

<h2 id="keynote-security-privacy-and-the-free-rider-problem-the-dark-side-of-the-internet-of-things-stephen-b-wicker-school-of-electrical-and-computer-engineering-cornell-university">Keynote: “Security, Privacy, and the Free Rider Problem: The Dark Side of the Internet of Things”, <a href="http://wisl.ece.cornell.edu/wicker/">Stephen B. Wicker</a>, School of Electrical and Computer Engineering, Cornell University</h2>

<p>Stephen Wicker discussed the broad side of privacy and economics of the IoT space. Internet connectivity coming to everyday objects, app,s and apparatus (e.g., in health-related products) has seen potentials for botnets (e.g., Dyn attacks), attacks, and privacy threats at fine level and granularity. The lack of security from manufacturers (some hard-coded into the devices) leads to large-scale DNS attacks in this space. 
Stephan discussed the economics of the Internet, and treating it as a “public good”, and the economic impacts of this philosophy. Though the “common good” does not necessarily mean open access, one needs cultural and societal governance norms and rules to avoid free-rider problems and tragedies. Solutions such as policy-based mechanisms (certification, regulation), and technology-based mechanisms (cheaper security solutions, automated vulnerability analysis tools, etc) could improve this situation.</p>

<h2 id="biometric-key-generation-from-body-impedance-data-kasper-bonne-rasmussen-department-of-computer-science-university-of-oxford">“Biometric Key Generation from Body Impedance Data“, <a href="https://www.cs.ox.ac.uk/people/kasper.rasmussen/">Kasper Bonne Rasmussen</a>, Department of Computer Science, University of Oxford</h2>

<p>Kasper presented a method for generating crypto keys from biometric data  and the privacy implications of this approach. The permanent nature of biometric data makes them difficult to use as a key on their own in case of security flaws and leaks. Hence acquisition of biometrics, extracting biometric samples, then features from samples, and generating keys from them makes the process of key-generation repeatable. Using the Siamese networks on a neural nets for comparing the feature vectors of the individuals it’s possible to converge on quantised feature vectors from the same individual. These are then used to feed into a tokenhash and a keyhash functions.This leads to an equivalence of 59-bit keys to guarantee that a person was involved in a transaction.</p>

<h2 id="wifi-scanning-crowd-monitoring-privacy-an-experience-report-maarten-van-steen">“WiFi Scanning, Crowd Monitoring, Privacy: An Experience Report“, <a href="https://www.distributed-systems.net/">Maarten van Steen</a>,</h2>
<p>University of Twente, The Netherlands</p>

<p>WiFI scanners are mostly designed for MAC address collection and processing for data mining purposes (security, crowd analysis, visitor detection, configured network SSID list, location classification etc). Though there are major privacy challenges here: small MAC address space, identification by opt-out, etc. However research in this space faces issues such as : faulty scanners, irregular/dynamic transmission ranges, signal and timing issues, multiple addresses per device (or vice-versa!), lost data, etc. However, using feature vector extraction methods it is possible to develop fingerprints from by just looking at visiting patterns for locations analysis. Others have already discovered that MAC randomization is a nuisance but not secure, since the implementations are sloppy, as packet information uniquely identifies a device. An observation Maarten made was that apart from ad agencies, most others are interested in aggregate statistics, hence designing systems based on questions asked might help with building useful and privacy-aware systems. Using client-side encryption and bloom-filter-based hashing functions can be a solution in this space, though scalability is an issue.</p>

<h2 id="sgx-enforcement-of-use-based-privacy-eleanor-birrell-department-of-computer-science-cornell-university">“SGX Enforcement of Use-Based Privacy”, <a href="http://www.cs.cornell.edu/~eleanor/">Eleanor Birrell</a>, Department of Computer Science, Cornell University</h2>

<p>Eleanor discussed the privacy vs. utility conflicts of using personal data. Use-based privacy and contextual awareness is key to utilizing personal data. This mandates the presence of an expressive policy language, efficient policy associations, and pervasive enforcement. Examples include user-defined preferences for data sharing to researchers and legal data-use restrictions. The proposed <a href="https://www.cs.cornell.edu/fbs/publications/avenanceHotPET.pdf">Avenance Policies language</a> enables the data processors to cope with these changes and expressions. They have evaluated the language on privacy preferences of Facebook and other use cases such as HIPPA. The challenges here include enforcement and policy checks, hence a few prototypes has been developed for understanding enforcement scenarios by the provider or delegated monitoring. They have then extended the Ohmage mobile health app API system to provide policy enforcement in few kLoCs, using SGX for program attestation.</p>

<h2 id="privacy-in-the-cloud-hard-won-lessons-from-shipping-information-retrieval-and-discovery-experiences-at-scale-to-microsoft-office-365-users-bjørn-olstad-and-troels-walsted-hansen--microsoft-development-center-norway">“Privacy in the Cloud, Hard-won Lessons from Shipping Information Retrieval and Discovery Experiences at Scale to Microsoft Office 365 Users“, Bjørn Olstad and Troels Walsted Hansen,  Microsoft Development Center Norway</h2>

<p>Microsoft has seen an increasing success with its cloud-based model. The next step is to use Data+machine learning to reason about data while keeping the users’ trust (e.g., enterprise search).  Understanding the types of data and interactions and aggregation of data for analytics is important for organising a product like Office around its users. A social-network-based search for the enterprise (e.g., MS Delve) is an attempt in this space for making the search relevant for an individual. The information can also include graphs from other sources such as LinkedIn. Addressing privacy perceptions and comfort levels are important here.</p>

<h2 id="a-legal-case-faced-by-microsoft-is-the-new-eu-gdpr-microsoft-services-must-be-adapted-to-ensure-gdpr-compliance-the-office-365-privacy-model-gives-strong-promises-on-control-ownership-and-encryption-to-the-consumers-the-new-msft-privacy-dashboard-brings-together-a-range-of-tools-for-awareness">A legal case faced by Microsoft is the new EU GDPR. Microsoft services must be adapted to ensure GDPR-compliance. The office 365 privacy model gives strong promises on control, ownership and encryption to the consumers. The new MSFT privacy dashboard brings together a range of tools for awareness.</h2>

<p>Some lessons learned: perceived privacy is equal to privacy for most consumers, hence it is important to communicate privacy in an acceptable yet intuitive and simple way to the consumer. There is also a shift away towards simple, user-centric permission models. It’s important to have self-explanatory products and communicate with the user at the time of actions. Signals and their perception can be different from the users’ point of view, for example “editing” a document might be a public signal, while “viewing” it might be a private signal. Presenting the social network of collaborators to the user also eases these choices.</p>

<h2 id="building-and-measuring-privacy-preserving-mobility-analytics-emiliano-de-cristofaro-department-of-computer-science-university-college-london">“Building and Measuring Privacy-Preserving Mobility Analytics”, Emiliano De Cristofaro, Department of Computer Science, University College London</h2>

<p>Location analytics are important for assessing user behaviours in spaces, urban transport, or crowd management. Two main modes of trusted aggregator, or centralised ways, are present today. Additively homomorphic encryption can be utilised to enable users to take part in such schemes. Yet these might not be scalable on large user spaces/items. Aggregate analytics are useful here for the statistics were individuals should not be identified. Data from 1 month of TFL users, and 1 month of SF cab commutes is used to assess these. Aggregate stats can be used to forecast the traffic very well. Methods such as differential privacy also does not work for such time series data due to utility loss. Prior Knowledge about individuals can improve aggregate estimates and potentially identify individuals probabilistically.</p>

<h2 id="user-centric-personal-data-analytics-on-the-edge-hamed-haddadi-school-of-electronic-engineering-and-computer-science-queen-mary-university-of-london">“User-Centric Personal Data Analytics on the Edge”, Hamed Haddadi, School of Electronic Engineering and Computer Science, Queen Mary University of London</h2>
<p>Abstract: In this talk, I discuss the ways in which we can utilize edge-computing to improve the scalability and privacy of user-centered analytics in the context of Databox project. I present a hybrid framework where edge devices and resources centered around the user, collectively referred to as fog, can complement the cloud for providing privacy-aware, yet accurate and efficient analytics. I present the evaluations of the proposed framework on a number of exemplar applications, and discuss the broader implications of such approaches for future systems.</p>

<h2 id="efficient-machine-learning-for-disease-detection-in-the-human-digestive-system-michael-riegler-simula-research-laboratory-oslo">“Efficient Machine Learning for Disease Detection in the Human Digestive System”, Michael Riegler, Simula Research Laboratory, Oslo</h2>
<p>Michael presented the results of using machine learning for medical image analysis, and challenges with quality of images and complexity in analysis. Using tensorflow and CNNs they get 80% precision and 96% recall, while the global feature approach performs better (94%p, 98%r). They also release new datasets and tools for the vision community to improve detection and localisation of diseases. They found collaborations between the medical doctors and computer scientists challenging!              http://datasets.simula.no</p>

<h2 id="meta-pipe-marine-metagenomics-data-analysis-service-lars-ailo-bongo-department-of-computer-science-uit--the-arctic-university-of-norway">“META-pipe: marine metagenomics data analysis service”, Lars Ailo Bongo, Department of Computer Science, UiT – The Arctic University of Norway</h2>

<p>Lars presented the methods and data acquisition and training for systems and the marine metagenomics data analysis pipelines developed in the <a href="https://github.com/uit-no/elixir-excelerate">ELIXIR Excelerate project</a>. He presented the systems, security, and implementation challenges of the infrastructure, and possibilities for including human data.</p>

<h2 id="safeguarding-analytics-on-privacy-sensitive-data--anders-tungeland-gjerdrum-department-of-computer-science-uit--the-arctic-university-of-norway">“Safeguarding Analytics on Privacy Sensitive Data”,  Anders Tungeland Gjerdrum, Department of Computer Science, UiT – The Arctic University of Norway</h2>

<p>Pervasive storing of personal data for monetisation and analytics raises a number of privacy challenges. Trusted computing can be useful in running secure pieces of code and data in trusted environments. Intel SGX and ARM TrustZone provide such mechanisms today by reducing some of the functionality and inherent risks of interrupts, system calls, and illegal instructions using Virtual Enclave Memory. Anders presented a setup for evaluating latency and memory overheads of enclave memory. He provided recommendations for use of enclaves (data leaks versus provision costs) for larger applications and users. Diggi Analytics lets the users implement isolation schemes, and performs security analytics for the configurations. Diggi provides asynchronous and synchronous communications schemes. Future work will focus on storage, caching, and fault tolerance.</p>

<h2 id="do-you-see-what-i-see--mutable-data-for-localized-data-sharing-jörg-ott-faculty-of-informatics-technische-universität-münchen">“Do You See What I See? — Mutable Data for Localized Data Sharing”, Jörg Ott, Faculty of Informatics, Technische Universität München.</h2>

<p>Jorg presented <a href="http://www.liberouter.mobi/">Liberouter</a> for DIY networking to provide distributed networking for disconnected areas or cloudless operations. This can also enable localised content sharing. Challenges include distributed data storage management, replications and caching, and distributed access control. Mutable data, arising from the DTN &amp; ICN community, can be utilised with such data sharing (e.g., opportunistic wikipedia!). This approach has interesting problems with mergers or adoption (git-like operations) but it can be useful for transient data sharing. Combined adoption and merging systems perform pretty well for the data. 
Write access control is more complex (think GoogleDoc) for a distributed system, Using middlebox-style local hubs these permissions can be managed and supported, though challenges remain here in ongoing work.</p>

<p><img src="/images/2017/20900803_10101316327602760_2435181027413779209_o.jpg" alt="Sommarøy" />
<img src="/images/2017/DHXtOFRXsAAzEP4.jpg-large.jpeg" alt="Databox" /></p>]]></content><author><name></name></author><summary type="html"><![CDATA[Hosted by the Department of Computer Science, UiT – The Arctic University of Norway, Schedule and slides available on: http://www.corporesano.no/eventspersonal-data-systems-workshop-2017pds-2017-program-preliminary/]]></summary></entry><entry><title type="html">UW Allen School MSR Summer Institute 2017 (Day 2)</title><link href="https://haddadi.github.io/UWMSRsummerInstDay2/" rel="alternate" type="text/html" title="UW Allen School MSR Summer Institute 2017 (Day 2)" /><published>2017-08-02T00:00:00+00:00</published><updated>2017-08-02T00:00:00+00:00</updated><id>https://haddadi.github.io/UWMSRsummerInstDay2</id><content type="html" xml:base="https://haddadi.github.io/UWMSRsummerInstDay2/"><![CDATA[<h1 id="schedule-and-slides-available-on">Schedule and slides available on:</h1>
<p><a href="https://www.cs.washington.edu/mssi/2017/schedule.html">https://www.cs.washington.edu/mssi/2017/schedule.html</a></p>

<h2 id="session-4-privacy--security">Session 4: Privacy &amp; Security</h2>

<h3 id="lynette-millett-national-academy-of-sciences-avoiding-predictable-but-alarming-trajectories">Lynette Millett, National Academy of Sciences: <a href="https://www.cs.washington.edu/mssi/2017/abstracts.html#milletttalk">Avoiding Predictable but Alarming Trajectories</a></h3>
<p>Lynette has had nearly 20 years of experience in the technology policy scene in Washington. She expanded on political and technical definitions of privacy and security in different domains and the importance of making the IoT systems safe and secure, considering the existing shortcomings on the Internet. Historical perspectives from earlier reports were presented during the talk on lessons learnt from major failures in critical systems and scalability of the IoT will put major challenges ahead in this area. Maintenance and overseeing of the deployments of these long-lived systems “out there” will be important.</p>

<h3 id="josh-siegel-mit-context-and-cognition-for-a-secure-and-efficient-iot">Josh Siegel, MIT: <a href="https://www.cs.washington.edu/mssi/2017/abstracts.html#siegeltalk">Context and Cognition for a Secure and Efficient IoT</a></h3>
<p>Josh touched upon data ownership, policy issues and technical issues around IoT systems. Standardised interfaces and familiar architectures (IP, AC electricity, etc) are not yet prevalent in IoT. A common, “human-inspired” architecture is needed to isolate the access to data, from access to actual devices, based on consent, requirements, granularity, etc. A “cognitive firewall” idea has been developed for mirroring the behaviour of these systems in the cloud to address fragmentation, openness, data ownership, security, and resource management. Using the same models behind the cognitive firewall, sampling rates (and consequently bandwidth and energy) may be optimized while complying with application requirements. Additionally, data flow visualisations have been successful in improving user trust, e.g., in the vehicular systems area for vehicle health and safety monitoring.</p>

<h3 id="dave-thaler-microsoft-trusted-cyber-physical-systems">Dave Thaler, Microsoft: <a href="https://www.cs.washington.edu/mssi/2017/abstracts.html#thalertalk">Trusted Cyber-Physical Systems</a></h3>
<p>Dave discussed the economics of security in cyber physical systems in large-scale environments (e.g., factories, hospitals, industry space, smart cities). These systems are vulnerable to state actors, malware, rogue internal agents. Strong security promises are needed for making systems tamper-proof, auditable and accountable, encryption-friendly. Trusted Execution Environments (TEEs like SGX, TrustZone, TPM, etc). Physical security and cryptographic security come hand to hand in the presented framework for trust model presented in TEE from a sensor to data to an actuator or a piece of code. These systems ensure unique identifier per device, authorised code execution, hardware access, and access to trusted peripherals. Trusting the code is still a tough challenge. Though we already know how to solve it, we need it to actually happen!</p>

<h3 id="philip-levis-stanford-safely-and-efficiently-programming-a-64kb-computer">Philip Levis, Stanford: <a href="https://www.cs.washington.edu/mssi/2017/abstracts.html#levistalk">Safely and Efficiently Programming a 64kB Computer</a></h3>
<p>Phil focuses on securing the IoT, especially from the point of view of the Operating System. He presented Tock, an operating system whose kernel is written in a typesafe language (Rust) for auditability and safety. Capsules are included in the kernel, written in Rust, and use Rust for isolation/safety. Userland processes can be written in any language and use hardware protection for isolation/safety. The kernel dynamically allocates from processes to ensure that a process can’t exhaust the kernel heap and language mechanisms ensure references to these allocations don’t escape into the rest of the kernel. This allows programmability of edge devices (e.g., a smartwatch!) in a language of choice. Authentication of devices remains a challenge here as the app-to-app authentication in an untrusted zone remains a challenge. See more on <a href="http://www.tockos.org">www.tockos.org</a></p>

<h3 id="ben-zorn-microsoft-building-an-internet-of-things-we-can-trust">Ben Zorn, Microsoft: <a href="https://www.cs.washington.edu/mssi/2017/abstracts.html#zorntalk">Building an Internet of Things we can Trust</a></h3>
<p>Ben manages the research in software engineering in MS. He discussed how the security and privacy risks of many software and hardware platforms, even those by major brands and companies, might be hidden in million lines of codes.He discussed <a href="https://deepspec.org/">deepspec.org</a> project for software verification and the <a href="https://project-everest.github.io/">Everest project</a> on secure software development, aiming to replace untrusted codes in services with verified trusted code. This has been evaluated on protocols such as TLS, open SSL, etc. However in the next phase in future, Ben highlighted the importance of verifying ML/AI models, mathematical reasoning about the models, and understanding data quality and its effects. We need to address human understanding, adversaries, and failsafe operation. Perhaps we could have annual software/IoT vulnerability check ups?</p>

<h2 id="roundtable-presentations-2">Roundtable Presentations #2</h2>

<h3 id="peter-bodik-microsoft-research">Peter Bodik, Microsoft Research</h3>
<p>Deploying even relatively simple IoT applications is complex in current IoT frameworks; it requires stitching together containers running on the edge, through a communication pipeline to the cloud and through several cloud services. This introduces challenges in deployment, monitoring, estimating cost, and so on. Further, there are many different optimization that customers have to implement manually. This requires providing a declarative way to specifying the IoT applications and automatically optimizing and deploying them.</p>

<h3 id="prabal-dutta-berkeley-signpost-sensors-for-urban-monitoring">Prabal Dutta, Berkeley: <a href="https://www.cs.washington.edu/mssi/2017/abstracts.html#duttatalk">Signpost: Sensors for Urban Monitoring</a></h3>
<p>Prabal focused on urban sensing from pedestrians, sounds, etc in the city. Deployments face challenges in infrastructure and maintenance. Energy adaptivity, ease of installation, HCI, and storage/processing are important factors to consider in such deployments. Many of these problems re-emerge in different settings considering the rise of new hardware and applications.</p>

<h3 id="dan-lieberman-pioneer-square-labs-taking-enterprise-iot-from-prototype-to-production">Dan Lieberman, Pioneer Square Labs: <a href="https://www.cs.washington.edu/mssi/2017/abstracts.html#liebermantalk">Taking Enterprise IoT from Prototype to Production</a></h3>
<p>Dan discussed the issues and challenges in moving from proof of concept to prototypes to commercial systems. He discussed the software design process and the path to development of devices from the idea to manufacturing.</p>

<h3 id="chenyang-lu-washington-university-dependable-internet-of-things">Chenyang Lu, Washington University: <a href="https://www.cs.washington.edu/mssi/2017/abstracts.html#lutalk">Dependable Internet of Things</a></h3>
<p>End-to-end latency from the sensor to the edge to the cloud to an actuator is an important challenge to address in the IoT space. Use of Edge-cloud processing in virtual machines can help in addressing the demands of real time applications and event processing. The work in <a href="https://sites.google.com/site/realtimexen/">RT-Xen project</a> developed demonstrates great performance improvement.</p>

<h3 id="steve-myers-indiana-university-long-lived-cryptography-for-long-lived-devices-and-secure-updating-in-the-iot">Steve Myers, Indiana University: <a href="https://www.cs.washington.edu/mssi/2017/abstracts.html#myerstalk">Long-lived cryptography for long-lived devices and secure updating in the IoT</a></h3>
<p>Steve brought up the issue of long-lived smart devices entering the home and the privacy-security challenges introduced in this space. Data encryption is of importance here, hence these deployments need to be done with the next decade in mind. Advances in faster computing methods such as quantum computing makes this an imminent issues to deal with.</p>

<h3 id="thomas-pfenning-microsoft">Thomas Pfenning, Microsoft</h3>
<p>Thomas presented the <a href="https://developer.microsoft.com/en-us/windows/iot">Windows IoT Core platform</a>, in mobile and other enterprise devices. The platform aims to get secure systems, with capability of cloud connected solutions. The platform aims to offer scalable device management from the cloud for updates and settings. Intelligence at the edge was highlighted as an area of importance, security of gateway devices, and device capabilities giving rise to local processing capabilities which can be utilised using the platform.</p>

<h3 id="matt-reynolds-university-of-washington-millimeter-wave-imaging-and-long-range-wireless-power">Matt Reynolds, University of Washington: <a href="https://www.cs.washington.edu/mssi/2017/abstracts.html#reynoldstalk">Millimeter Wave Imaging and Long-Range Wireless Power</a></h3>
<p>Battery takes up 50% of the volume and wireless hardware takes over 40% of board area in a smartphone. Hence architectural innovations are needed to improve the status-quo. IoT devices will extend to living things (people, animals) - not just non-living sensors. Using backscatter comms and wireless power systems, Matt’s group has designed a neural data telemetry system to downlink dragonfly brain activity in real time. Matt also presented their sensing efforts on security domains using millimeter wave MIMO for imaging.</p>

<h3 id="stefan-thom-microsoft-how-to-fight-an-adversary-that-is-not-bound-by-the-linearity-of-time">Stefan Thom, Microsoft: <a href="https://www.cs.washington.edu/mssi/2017/abstracts.html#thalertalk">How to fight an adversary that is not bound by the linearity of time?</a></h3>
<p>Updating devices and their maintenance in-person after firmware issues and leaks is a costly operation. The physical limitations of these systems make it difficult to do malware analytics or software checking easily or do policy verifications by the human operator. Missing the context and device state makes the application analytics challenging for event analytics. Hence a focus on bootloader and boot time code analysis per device was highlighted as a way of establishing identity and issuing certificates for devices. RIoT from MS brings more information on this.</p>

<h2 id="invited-talk">Invited Talk</h2>
<h3 id="chris-diorio-ceo-vice-chairman-and-founder-at-impinj-the-littlest-biggest-internet-opportunity">Chris Diorio, CEO, Vice Chairman, and Founder at <a href="https://www.impinj.com/">Impinj</a>: <a href="https://www.cs.washington.edu/mssi/2017/abstracts.html#dioriotalk">The Littlest Biggest Internet Opportunity</a></h3>

<p>Abstract: We are fast approaching a day when trillions of everyday items are connected to the Internet. This connectivity presents both challenges and opportunities for the IoT. In this talk I will review RAIN RFID’s significant role in connecting everyday items and will then propose a framework for addressing those IoT challenges and opportunities.</p>

<p>Chris talked about motivations for connecting items, future visions, and opportunities and challenges. How would we go about connecting trillions of items in the near future? History, ownership and services will be recorded. RAIN RFID allows unique, small radio-identified battery-less tags. <a href="http://rainrfid.org/">RAIN RFID</a> alliance has secured spectrum in many countries and is used by many industries. Each tag might be read 10s or 100s of times. The value is putting the data, context and analytics together. Billions of these tags are already used in industries, in consumer sectors like Delta bag tags (a $50m investment) and tracking marathon runners.</p>

<p>Perhaps in the near future, these RAIN tags can be integrated into suitcases and with a phone app and airline registration, to enable a smoother check in and collection process. Though currently the lack of an IoT backend is is slowing the deployment of RAIN readers in phones.</p>

<p>Chris concluded by proposing some principles: items’ digital lives should mirror their physical lives, and their history, ownership and services must be kept in a journal. Services and history are atomic; ownership is chained. Applications’ access journals subject to persistent owner rights.  Items will have digital twins in the cloud for journal keeping and data storage. Connecting items should hopefully improve all our lives!</p>

<h2 id="session-5-experiencing-the-iot">Session 5: Experiencing the IoT</h2>
<p>Speakers:</p>
<h3 id="james-landay-stanford-out-of-body-user-experience">James Landay, Stanford: <a href="https://www.cs.washington.edu/mssi/2017/abstracts.html#landaytalk">Out of body User Experience</a></h3>
<p>James presented his group’s experience on visions in interaction with AR and drones. These could include personalised tours and navigation. They observed a cultural dependency on gestures and interactions with drones. They are discovering natural interaction patterns for how people will interact intuitively with objects and public drones one day!</p>

<h3 id="rajalakshmi-nandakumar-uw-allen-school-interacting-with-small-devices-using-active-sonar">Rajalakshmi Nandakumar, UW Allen School: <a href="https://www.cs.washington.edu/mssi/2017/abstracts.html#nandamumartalk">Interacting with small devices using active sonar</a></h3>
<p>Interaction with IoT devices is a challenge! <a href="http://fingerio.cs.washington.edu/">FingerIO</a> is a motion-based finger tracking software for using speaker and microphone on the device to understand motions based on reflections to enable any surface as an input surface with high accuracy.</p>

<h3 id="joe-paradiso-mit-media-lab-siricortanaialexa-vs-the-other-me--pre-cognitive-human-extension-as-the-future-of-iot">Joe Paradiso, MIT Media Lab: <a href="https://www.cs.washington.edu/mssi/2017/abstracts.html#paradisotalk">Siri/Cortanai/Alexa vs. the Other Me – Pre-Cognitive Human Extension as the Future of IoT</a></h3>
<p>Joe presented the CHAIN-API, an early version of JSON-based open standards for sensor connectivity and data posting. As smart environments will become an extension of self and understand more context, naturally tunneling this information into perception becomes challenging. Joe demoed DoppelLab live visualizing different sensors which are in the Media Lab building with scrambled audio and social media. The demo highlighted the need for a unified control panel for sensor aggregation and bringing data together from different sources. Joe also demonstrated the <a href="https://tidmarsh.media.mit.edu">Tidmarsh living observatory</a> as a live environmental monitoring platform. The audio enables real time classification of different animals at the site. The aim is to understand the Human-Data Interaction and manifestation of data from sensors and the individuals in the environment. He also showed examples of a room that transformed via lighting and projected imagery as a function of a user’s context and affective state.</p>

<h3 id="gregory-abowd-georgia-tech-extreme-ubiquity-de-emphasizing-the-importance-of-moores-lawhttpswwwcswashingtonedumssi2017abstractshtmlabowdtalk">Gregory Abowd, Georgia Tech: Extreme Ubiquity: [De-emphasizing the importance of Moore’s Law](https://www.cs.washington.edu/mssi/2017/abstracts.html#abowdtalk</h3>
<p>Moore’s law is no longer applicable in today as the transistor packing space is saturating. However we can now move on to moving from silicon-based ICs to embedded sensors manufactured items, and computational material which can harvest information and compute, store data, and actuate. The aim of the <a href="http://ubicomp.cc.gatech.edu/research/">COSMOS project</a> is to reach there soon!</p>

<h2 id="invited-talk-1">Invited Talk</h2>
<h3 id="ron-zahavi-microsoft-iot-success-factors--business-models">Ron Zahavi, Microsoft: <a href="https://www.cs.washington.edu/mssi/2017/abstracts.html#zahavitalk">IoT Success Factors &amp; Business Models</a></h3>
<p>Abstract: In this session I will describe how IoT combines elements of existing and new capabilities into systems of systems that can be highly complex, involving many new business models. I will then review issues and pitfalls to avoid, different business models, and the elements existing organizations ongoing transformation, as well as startups, need to succeed in the new IoT connected world.
<img src="/images/2017/IMG_3737.JPG" alt="Ron Zahavi" /></p>

<p><img src="/images/2017/20819379_10156445245820410_9096555085482526017_o.jpg" alt="Group" /></p>]]></content><author><name></name></author><summary type="html"><![CDATA[Schedule and slides available on: https://www.cs.washington.edu/mssi/2017/schedule.html]]></summary></entry></feed>