Hamza Harkous (@hamzaharkous) profile picture

Research Scientist at @Google; Synthetic data & RL environments.

Zurich, Switzerland
Joined May 2011
Photo by Hamza Harkous (@hamzaharkous)Photo by Hamza Harkous (@hamzaharkous)Photo by Hamza Harkous (@hamzaharkous)Photo by Hamza Harkous (@hamzaharkous)Photo by Hamza Harkous (@hamzaharkous)Photo by Hamza Harkous (@hamzaharkous)Photo by Hamza Harkous (@hamzaharkous)Photo by Hamza Harkous (@hamzaharkous)Photo by Hamza Harkous (@hamzaharkous)Photo by Hamza Harkous (@hamzaharkous)
Our recent full paper on Simula (published in TMLR) reframes synthetic dataset creation as structured mechanism design rather than heuristic prompting to control diversity, complexity, and quality. 📃Paper: arxiv.org/abs/2603.29791
3
2
34
3,114
We recently published our early paper on Simula, an internal framework we built at Google that has powered >20 launches using #SyntheticData across products over the previous year. Simula empowers our teams to generate data at scale, offering fine-grained control over diversity, complexity, & quality. ✨ Curious about Simula's applications? Here’s a glimpse: -📱 On-device models (Pixel scam call detection, Android messages scam protection, Gemini Nano safety classifiers, etc.) - ☁️ Specialized server-side models (Gemini AI moderation, ShieldGemma 1 & 2, etc.) - 🛡️ Pre-launch evaluations & crucial safety testing for new products - ...and much more! At its core, Simula leverages LLM reasoning at every stage: from strategizing diversification factors and building deep domain-specific taxonomies, to advanced meta-prompting and data complexification. It then deploys the best tools for executing data generation based on this reasoning, plus robust mechanisms for critiquing & revising as needed. 🛠️ 📄 Early Paper openreview.net/pdf?id=VOoeog… While this paper focuses on our seedless generation approach, Simula's capabilities extend far beyond – covering all kinds of data augmentation and the multi-modal, multi-step nature of modern data generation. We have more coming in the full paper! Huge thanks for the great co-authors who made this paper possible: @im_td, @Seguin_Be, @enricobacis, & @cesar_ilharco. Building Simula, with its flexible abstractions for diverse use cases, was a significant challenge. @Seguin_Be and I bootstrapped this journey last year. The paper tells part of the story, but the effort to build usable software extends far beyond theory to the smallest details. Still, the potential we've unlocked continues to amaze us! #ICLR2025 #SyntheticData #AI #LLMs
1
3
17
776
🔊 Bonus: Audio overview of the paper, courtesy of NotebookLM: drive.google.com/file/d/1V_C…
1
2
138
I usually refer to it as treating your data as a Tamagotchi (digital pet) that needs continuous nurturing. This "data engine" is missing from the vast majority of pipelines in the industry nowadays (minus a few big teams at a few big companies).
Potentially nitpicky but competitive advantage in AI goes not so much to those with data but those with a data engine: iterated data aquisition, re-training, evaluation, deployment, telemetry. And whoever can spin it fastest. Slide from Tesla to ~illustrate but concept is general
1
One of the most underrated skill for a research scientist too:
Certain software skills are exceptionally useful for machine learning. In a previous era, it was GPU programming. Now in the era of pretrained models, it's front-end development -- to quickly whip up a UI to collect a fine-tuning or eval dataset.
ML-powered code completion at Google has been a significant productivity boost for me: - Guesses (almost) all python type hints and TypeScript types. - Autocompletes (+comments) protocol buffers. - Reduces copy-paste in cases of similar patterns spanning multiple lines.
Check out a new hybrid approach that leverages both ML and rule-based semantic engines to build a Transformer-based semantic code completion model, which we show can improve developer efficiency. Read more ↓ goo.gle/3bfeY3I
2
2
18
Our team (Applied Privacy Research) at Google will have an opening (soon) for a Research Scientist role (PhD required), based in Sunnyvale, California. The role is heavily focused on NLP
1
8
18
(leveraging state-of-the-art large language models, neural retrieval techniques, building generative models, etc.). These are applied to corpora in the privacy, security, and trust domains. But that domain-specific expertise in (privacy/security) is not a strict requirement.
1
1
Our paper "Hark: A Deep Learning System for Navigating Privacy Feedback at Scale" is now being presented at @IEEESSP 📄 Paper: research.google/pubs/pub5130… 🎥 Teaser Video: youtube.com/watch?v=RJuQ2tSe… This is a work by our Applied Privacy Research group at Google. #SP22
1
3
16
Summary: We describe a system that can take any corpus of Play reviews and finds the privacy reviews (which are a needle in a haystack) with high accuracy. #SP22
1
1
Interesting coverage of our latest pre-print on CookieEnforcer, an upcoming browser extension that enables automated enforcement of the minimal set of essential cookies. theregister.com/2022/04/12/c… Paper: arxiv.org/pdf/2204.04221.pdf
2
4
This is done by generating the optimal settings offline using a T5-based sequence-to-sequence model. Then these settings are applied instantly (or on-demand) via the extension when a website is visited.
1
After two years of work, we're launching Checks as a new product from Google to simplify privacy and reduce risk for app developers. “Check” out our website: checks.area120.google.com and the launch blog blog.google/technology/area-…!
1
3
Checks triangulates signals from the privacy policy, the app's collection & sharing behavior, and the app store requirements in order to simplify the path to privacy compliance for development teams. techcrunch.com/2022/02/22/go…
1
1
1
Our COLING 2020 paper and system for neural data-to-text generation have been recently featured in this article on the Amazon Science blog: Blog: amazon.science/blog/automati… Paper: arxiv.org/pdf/2004.06577.pdf
Amazon researchers have developed a system, called DataTuner, that can convert structured data — such as tables and knowledge graphs — into fluent and semantically faithful text. DataTuner can be downloaded free from @github. #AmazonScience amzn.to/2Rgsb24
2
Great results on several multilingual tasks with multilingual T5:
We are releasing mT5: A massively-multilingual version of T5 that supports over 💯 languages! mT5 was pre-trained on a multilingual version of C4 and achieves SoTA on many cross-lingual NLP tasks. 📜Pre-print: arxiv.org/abs/2010.11934 💾Code/models: goo.gle/mt5
2
Data-to-text generation has numerous applications across a variety of fields, and one can only realize these once faced with these problems. Think about creating answers from knowledge bases, producing product descriptions, improving human-computer-interfaces, etc.
1
Today at @PET_Symposium, Kassem Fawaz will be presenting our recent paper studying how the privacy policy landscape has shifted with the GDPR (12:40 EDT). Recorded Talk: youtube.com/watch?v=60ynWw6S… Livestream: youtube.com/watch?v=ix7sctji… Paper: petsymposium.org/2020/files/… #pets20
1
2
1
6
Fine-tuning summarization models with high sample efficiency:
Presenting PEGASUS, an approach to pre-training, that uses gap-sentence generation to improve the performance of fine-tuning for #NaturalLanguageUnderstanding tasks, like abstractive summarization. Read more and try the code for yourself ↓ goo.gle/3e0b8Id
1
4
Lots of interesting progress in this post about Federated Analytics from our colleagues at Google Research. Providing privacy guarantees for users while computing statistics at this scale is a great move forward.
1
9
Given a source of data, how can we generate text representing this data? In our work, we show that a special language model that we fine-tune produces the state of the art on 4 datasets with margins ranging from 1.2 to 5.9 BLEU points. arxiv.org/abs/2004.06577 #NLProc #GPT2
1
1
1
3
Our model is can be applied to any data-to-text #NLG problem. Basically, it's only necessary to convert the data into a linearized string. This is in contrast to encoding the data with graph networks or pipeline-based approaches. It is completely end-to-end. Target datasets:
1
This month, I started a new position as a Research Scientist at @Google Zurich. I‘ll be working on improving privacy for users & developers with ML and NLP techniques. Looking forward to cool internal projects and external collaborations with the academic community!
3
29
We have built PoliCompare, a single hub for comparing multiple privacy policies with AI: pribot.org/polisis/compare This builds on our previous tools available at pribot.org. Check out this intro video to see what's there! youtube.com/watch?v=be56PQp3…
4
7
My top 3 from this article: - "Some things in life can never be fully appreciated nor understood unless experienced firsthand." - "Everything is more complicated than you think." - "You always have to tradeoff something." deliprao.com/archives/227
4
A great, timely overview of the recent advances and open problems in Federated Learning research, by @KairouzPeter et al.: arxiv.org/pdf/1912.04977.pdf
2