Encode x Worldcoin Educate Series: Biometrics
Encode x Worldcoin Educate Series 2024 · 5 Sept 2024 · 1:00:24
Tanguy Jeanneau of Tools for Humanity explains why Worldcoin relies on biometrics to prove personhood in the age of AI, and why the iris was chosen over fingerprints or faces. The session distinguishes verification, identification and deduplication, then follows the iris recognition pipeline from capture and segmentation to Gabor filters, iris codes and Hamming distance matching, including false match rates and spoofing defences, and points to the open-iris repository.
Speakers
Topics
From Encode x Worldcoin Educate Series 2024, hosted by Encode.
Transcript
hi everyone welcome back to session four of the World coin educate series we're nearly halfway there now today we've got a talk on Biometrics and I know you guys had a lot of questions on Monday about this topic so do make sure that you put them in the questions tab because our speaker to is the one to ask about these topics hello thank you for joining us hello thanks for having me I will leave the stage and you can begin your presentation I will be backstage if you need any support awesome cool by the way Rea should we wait a few minutes for people to join or is
everyone going to be like assumed to be here I think we've got a pretty full room already there's quite a few names in this list but you're welcome to wait a minute or two introduce yourself have some small talk until the room is even Fuller that's perfect sounds good thanks all right so my name is tongi I'm am uh engineering manager in uh the AI in biometric team at tfh so basically I'm contributing to the team and I'm managing the team that do anything Iris recognition related and other biometric data processing related on the or put it here behind me you might see me moving around a
little bit I just broke my feet a few days ago so I'm still trying to get used to to that new setup that's also why I'm at home and not in the office but yeah I think we can actually get started so let me share my screen cool I'm going to assume that everybody see my screen Rebecca just interrupt me if um there is anything going wrong we can see your screen P first of all thanks for joining me on the little talk my goal here is to unveil the mask on what's happening on the
orb what are biometrics in general why are we using Biometrics in the first place actually because honestly our life would be so much easier if we wouldn't deal with biometric data so why have we put ourselves through that path what is important to know around Biometrics some design decisions why have we chosen Aries and not fingerprints for instance and also talking about Iris given that it's one of the core component of the project I'll tell you a bit more about how Iris recognition work as well um I'll try to start as high as possible so that people um would need to have a mathematical background to
understand what's going on in general uh but I'll still try to drop some nuggets uh here and there so that those of you that do have the background could um maybe connect some dots uh around what's happening what are we doing with Biometrics and if we have some time in the end I'll show you also what we've open sourced because we're proud of it but my and I with open source the whole Irish recogition andine that lives on the orb given that our whole ethos our whole mission is to have everything as open source permissionless and decentralized as possible even that usually companies keep very private and secret we've decided to open source it
so if you have some time we'll go through that as well and of course I'll take questions probably something like halfway and then in the end so do drop all of your questions in the questions section and anything that I'll try transer to everything that's like Biometrics related and Aras related so first thing is I know we've had like an entire session I think on introduction to W coin for those of you that might have missed it I'll go through it quickly my own spin of it why we are doing all that what's the the core added value of the project in
my opinion is that we're creating system that allow to verify and characterize humanness in the age of AI why in the age of AI because with all of the models that are out there open source or private source to generate data at Large Scale how do we know who's a real human and who's just a b when every signal can be falsified how to know which signal actually comes from a real person and I think that's a huge primitive that we completely missing today and that's why we having social medias for instance that can be so overcrowded with both fake opinions um basically we need to
reintroduce a bigger notion of uh truth and humanness uh online without compromising on anything uh privacy related and that's I think why the project is so cool because it's sounds super contentive counterintuitive to have at the same time um strong authenticity strong authentication and strong privacy at the same time so basically I'm not going to tell teach you anything when I tell you that any data can be generated by AI models text for instance now it's virtually impossible to differentiate between AI generated llm generated text and human generated text which is a huge uge source of
potential fake news and a bunch of let's say societal issues linked to that but text is not the only modality that can be generated um images as well this one is one of my uh favorite I I used to use this exact same slide exact same example already five years back the for those who don't know this is a website called this person does not exist.com which relies on style gun which is a gun so gener addal Network an AI model that can generate data that resemble distribution that is been shown and so typically these three pictures are completely AI generated and five five years ago as the same as today I
still come believe that we have models that are like that good and plus we also have tools to make sure that these models don't just copy paste the same images or masch up together parts of different images into a new one but those are purely created out of the blue so text can be generated images can be generated video can be generated I'll go through this one real quick but you've probably seen this video also from open AI this is entirely AI generated for those who don't know this is the Sora model who's been showcased in February to be fair we're so waiting for having the model being available for everyone to use but when the model works like that good I
understand that open sourcing search model should be done very cautiously because this could be used to completely manipulate what is true what is real online yeah all of that is really a generated so given that we're in such a situation how can we make sure that we interact with a real person online how can we verify that our interlocutors are not a b but a real person this is what proof of personhood is about again I'll scoll through that really quick but proof of personhood is this notion of verifying are you an authentic and unique person we don't want to know who you are we just want to
have some verification some certainty that the user we're talking to is a real person the rest I'll scroll through that because you already had the presentation of what is wall coin number users blah blah blah part of our infrastructure I think you had a nice talk from then on anything or related and so I'll be here to cover the part on Biometrics so first of all why Biometrics what we're trying to do is proof of personhood so proving that you are an authentic person at scale authentic here should be understood at both human like a real 3D person that exist in the real life and unique we
need the uniqueness because otherwise it's just just so easy if you don't have a notion of uniqueness you can just generate hundred thousand millions of such key and flood the market with those flood internet with those in such a way that it would only take one person that would distribute these keys at high scale for the whole system to stop working so we really need both the humanity and the Unicity part and the ad scale is what makes the whole project super interesting because we decided that we won't just that in one country in one continent but at the scale of the world because we're again directed towards fairness absurdly extreme inclusivity um so we need to have we
said up to a billion user so that was the very early day uh Target number um our system is already wired for orders of magnitud above that but let's say that saying 10 billion users well you don't have 10 million humans and we barely have I think through four four five million a billion uh humans that access to Internet also let don't get ahead of ourselves so that's why one biling is here borderl we should rely on one country's identity system we could integrate it but that shouldn't be the basis of it and unforgeable so we shouldn't be able to create fake statement that I am a real person so now if you have to prove that
you human and unique how do you do that the underlying question is what makes us human so you could have some theoretical answer uh based on what Humanity means at the core um compassion empathy um helping each other all these kind of values that are I think great in subjectives um but beyond that we're not trying to say what makes us human as in what is the ethos of human but what prove that we are human um how to prove we are a human what characterizes us as a human there is not many things there is actions we could do
there is things we could type pictures we could say but all of that as we said before can be falsified generated at scale so it's paradoxical because we are in a situation where we want to protect ourselves against a flood of data of generated data but how do you verify your real person what data do you base yourself on because all the data that you could use for authentication like a picture of your ID or selfie where you say yes or no these kind of things they're good but they can be faked at scale so given that this kind of like a chicken and egg problem we had to cut the middleman basically and
say we have to measure ourself that there is a real 3D person that we've never seen before in front of a hardware that you can control and that's the key controlling the hardware that's why we been building the warb so now that we have this idea of we need to have the owned secure Hardware in front of which we're going to in the real world measure is there real person measuring humanness measuring thing on um a human being it's biometric all that to say we're doing bi metric because we need to measure in person that there is a real person in front of of a control device
but now given that this is the idea the the the statement of the project what do we do what kind of biometric modality can we use the first thing is getting to Biometrics there's three ways to use biometric identity system the first one is verification I'm T I'm a person and I want to prove to assistent that I'm really me let's say I want to prove a database that I am tongy because of my passport in which I have my biometric picture what I'm going to do is give to the give to the system oops give to the system a new sample of my biometric data let's say I'm in front of the
airport the scan knows in the biometric database that this phase equal game and so I'm presenting my biometrics in front of the camera so that they can sample the new picture and then match the two pictures so verification is how the vast majority of biometric systems are used because it's one to one I say hey I'm jongi here's my biometric to prove that I'm really who I claimed to be then you have identification which is one to n this one is a bit trickier the idea is you have a database of n persons and you want to know if anyone are you are you in the database and who are you this is more more often use in use cases
typically in forensics you find a fingerprints on a crime scene so you sample these fingerprints byc data and you match them against an entire database so one to n because you have n already registered offender database or something what we're doing is a bit different it's identity D duplication the idea is hey I'm here I'm tongi first time that I'm coming to sign up to bcoin I want you to be able to verify that you've never seen me before so given a database with n identities I want to make sure that I'm never I'm not yet in the biometric database that's identity D duplication and the good thing is that
it allows us to kill all the nefarious use cases that's often associated with Biometrics in the egg typical negative use cases could be things like Master Sur relance or whatever we don't want to know who you are we just want to make sure you're not yet in the database so then we can use some cryptography techniques like zero knowledge proofs that you might hear about in the next session I think or in previous one where basically you can prove hey my identity belong or do not belong in the set of known identities without knowing to whom it matches so by these fic tricks that you'll see in the moment like in a few
days we are able to kill all these negative use cases plus with things like secret multi partic computation we can make sure that we don't store the biometric themselves but mathematical artifacts of it anyway so identity we have to do one to n identity D duplication and that's where things get actually interesting because it say that if I have a million users already registered and a new one wants to arrive I have to check that the new one is not user one not user not user three not user four up to user million so basically I'm going to roll the dice a million time on knowing whether I could get a wrong answer from the system because systems inherently can never be perfect so given that we have systems
that could never be perfect and that we have up to a billion users that are necessary if a new user come in with a billion user in database but nobody gives a false match it means that all the billion users have to not match so basically you have to multiply your false match rate by a billion I'll come to that in a second so these are the three metrics we're interested into three metrics that allow us to characterize the bcem false match rate and false rejection rate I'll start with the second one the false match rate basically is what I was explaining what is the probability that the user would be falsely match with someone else we want up to let's say a billion user in
database so if we have once in a million probability to be false match then we can't reach that database size because at one billion user if one in a million gives a false match we have thousands of false match this is not acceptable so what do we need our first match rate to be extremely low the false non-match rate is the probability that you're already in the database but we can't match you back with yourself in that case you're able to get a second world ID this one also we want it to be as low as possible and false rejection rate is what is the probability that the user will be falsely rejected by the security in the spoof model those that make sure that you are
a real 3D breathing person all right I just R noticed that I've swapped this two in the slides but basically the force match rate we need it to be at 10 to Theus 12 Z like 12 0.1% because if you want 10 to the 9 user one billion user and we want that this billionth user get rejected rarely like once in a thousand we need this to be 9 + 3 10us 12 so one in a trillion false mat rate so this one we SW we want that it should take a 100 time trying to send up at the orb for generating another false World ID in
practice this one is much lower but this is the bare minimum requirement and the false objection rate more or less we want that rarely like five or something per of the user will have to try a second time so that's our our requirements for the biometric system false match rate of 10 Theus 12 false non-match rate of 10 the minus two and false rejection rate of 5 10us 2 so given that we can have a look at the different modalities modalities are things like fingerprints or face recognition DNA Iris bone print what whatever basically we found that Iris was by far the best choice for our project for a bunch of reasons all put
here basically it's hard to forge an iris there are some very painful surgeries to change the color of the iris but this is so expensive and so painful that it does not make any economical sense for a user to do something like that so very hard to to modify it it's easy to see if it's a real um Iris or not computer vision models can detect that very easily the scalability is the most important thing because Iris has such a huge amount of entropy such a huge amount of Randomness in it um that it contains so much information very not very but it's easy to distinguish two
different person at 10 Theus 12 Target false match rate um recently pal print also became a modality that started to be used like by Amazon one for instance we still are to be seen AA a use case where such database can scale two billions of users I think it philosophically should be possible but Iris has been proven we have some databases that are in Adar for instance the the Indian security social security system which is aris recognition based for instance so Aris we know it can scale and so last thing around Iris recognition and then I'll answer some
question very quick is we have two eyes so how does that compare are the two eyes completely independent how we how do we emble that information the first thing is one reason why we're not using face recognition to create World ID is that face recognition has false match rate in the order of anything between 10us 4 to 10us 8 depending on the data quality Iris can easily get to 10 Theus 6 per I in practice we want to two of magnitude below that on our production system and so when you emble these two information when you want one eye to
match and the other eye to match basically you are multiplying the false Mat Rat and because the two eyes are completely independent one from each other it means um you can properly by the intersection of the two is the multiplication of the two so in a nutshell how do we assemble those two um both need to match for it to be considered match the effect is that it doubles the false non mat rate but it squares the false match rate so 10 to Theus 6 Square 10us 12 we can reach our Target pretty easily and so compared to phase R is much better because your left eye your right eye are completely decorrelated your right eye
and your father your daughter your brothers I Iris information is completely different while for face you have some similarity twins have radically different U Ires as well there's been some research quite in depth to prove that basically as weird as you can see the information on NE iris is completely decorrelated apart from one very high level Factor that's minuscule compared to the quantity of information which is the color of the eye and the type of pattern that you can encounter unless you have di chromia which is two eyes in different colors the other way to assemble those would be I need either of the eyes to
match but as the graph on the left row that just cannot scale to the number of users that we are targeting so that was for the identity part and then on the orb we've added a bunch of additional sensors for authenticity so verifying are is there real 3D breathing leing human being in front of the orb or not so we have these sensors here plus a few on the orb but basically RGB camera for seeing what is there human face or is it like a dog or is it a feet or something thermal camera for making sure that we have the heat signature of a real person 3D sensor to make sure that it's not like a sheet of paper with a photo of someone but it's natur a 3D
person or this kind of things and so for all of those we have dedicated AI models um I won't get too much in details right now but if we have questions on those I'm happy to take them all right so before getting on how does Iris cognition work I'll take a few questions so what do we have here why do we need to identify human or not isn't the whole point of cryptography to stay Anonymous so no one knows who you are and what you do thanks Mike for the question the whole point of what we are doing is to stay absolutely radically Anonymous so using a world ID does not
reveal anything about who you are who you know what you're doing but the creation of a world ID is linked to this being in front of the orb which shows that you're a real person and a unique person why do we need to identify human or not because otherwise you could maybe generate a world ID for a sheet of paper in animate object for a pet the pet use case I could see something going in that direction like Veterinary identification or like live blog like live Journal of health of a pet for instance but that's another case
that's not what we're trying to solve we're trying to solve uh Cil resistance so we're trying to solve cases where I want to make sure that I'm only having authentic real users the if we would accept a world IDs for in animate object for instance that would negate the added value which is making sure that you're talking to a real person not talking to a boat that is trying to sell you sold bath water or something like that and then we have another question here is Iris code or mathematical representation essentially a biometric template yes absolutely I'll come to that in a moment but little spoiler an iris code is the mathematical object we're using to identify who is
who below the S&P cryptography layer and is so hoch chromium which is different eye color it's not a problem at all it just makes that the two eyes will have even more difference between themselves but but you can have the eyes of a different color and that's absolutely fine and for blind people that's a good question so there is some people that are blind and still have irises there are some people that due to some disease cannot have two irises and we can't expect every single human on earth to have two valid functioning eyes the whole point of the project is to be as inclusive as possible and there is no
biometric modality that can be guaranteed to be 100% POS by everybody so we're currently working on the side side stream side enrollment stream to make sure that we can use all their system other their biometric modalities to enroll people that do not have true valid functioning eyes all right I'll get back to the presentation and I'll take the other questions later on so how does Aras recognition work Beyond just the title of this section it's also the title of the one of the original papers that created Iris commission and the history of ir is
actually pretty interesting was pioneered in 93 by 1993 by joh John dougman and for anything Biometrics related for for anything recognition related like first PR for instance 93 is actually super early and in '93 we already had amazing uh results the reason for that is that inherently pupil and ares are just round so you can have some very computationally light method that are not the most reliable uh but that were good enough to identify where in an image is the iris and the pupil and from there on use classical um
computer vision method to extract the information of the texture that's actually what joh douman did in 93 since then the field evolved a bit and I'll tell you a bit about that in detail what I'm going to present to you is the current more modern approach that we are using including some innovations that we've built here at vcoin the pipeline is the following the first is there is a few images that arrive that are taken on the orb by the way all the images that you're going to see here all the biometric data of course come from either employees or have been taken in laboratory so none of that is user data that goes without
saying so given iris images we first evaluate the quality of the image so we have eight funeral networks that deal with the autofocus with the with the tracking system of the ARs to make sure that we have consistently like a frame where the ARs is super sharp and in focus when we have images that are good enough quality so not blurry the eyes is open etc etc we pass that into the segmentation model it's basically the model that's going to say hey here is the iris boundary here is the pupil boundary and we're going to use that information to unwrap the iris and turn that into an
iriscope so starting at the segmentation part because this one is just um an a model that gives you a quality ranking we start with an image this one actually is a photo of my right eye the orb takes images in the near infrared Spectrum near infrared roughly 850 nomers why infraed because if the majority of the human on earth you have brown or dark eyes that information is very hard to see in the visible spectrum if that's the case you can look at your in the mirror or ask your friend hey can I look at your ey for a second promise it's not going to look weird and so you
just see brown you just see brown or black and on the visible spectrum it's very hard to see the details while in the near INF Spectrum this is where all of the texture richness come to life so for some reason the IR texture is much more clearly visible outside of the visible spectrum so we take that image of my right eye how can we turn that into the iris code that we were talking about which is the zeros and ones that mathematically synthesiz the IR seure of the person the first step is you're going to know where is the iris so given the iris image we have a first deep learning model that's going to say for every pixel of the image what's the
content of that pixel is it green so is it an iris like here is it pupil is it just the Skin So gray nothing in particular or is it eyelashes or is it the Scara the white of the eye the eyelashes is actually necessary because some people can have the eyelashes that point not upwards but more downwards and they these eyelashes can hide the IR texture we don't want to extract bad information because it's not biometric information that's constant because you can close open your eyes when it's closed when it's blocked when there's something occluding it we don't want to deal with that information I don't know if you can see it here but the green part is this is Pur model generated pixel per pixel
Precision of saying where is where does the AR texture start and where does it stop once we have that information we can go to the normalization step oh and by the way I have much more information on the segmentation model if you're curious in the annex after that on the question section then we normalize the image the thing is the IRS looks like a donut and it's not the most easy to process because the the iries could be on the top on the bottom left right of the image it can be bigger if I'm closer smaller if I'm further away it can be tilted on the side if I'm tilting my head so there is a bunch of thing that vares the pupil also can constrict more when there is a lot of light or dilate
more when it's dark so the normalization step basically um eras a good chunk of this variation what you do is that you going to artificially cut the arure at some point and unwrap it so what you can see here that's the lower eyelid in the schema that you could see here that's the upper eyelid in the schema you can see here this information here like all that which is straight in the carthesian plane when you put it in the polar plane it's going to look warped so these bums you can see here are actually my lower and my upper eyelid the little black thingy you see here is the eyelashes for instance and I don't know if you can see
it but here I had a bit of eyelash that was going over the Irish texture this is garbage information so so this is also blacked out by the model but this image is mostly clean and once we have it once we have this stable uh piece of biometric data how do we process it we have what we call Gabor filters Gabor filters if you're also familiar with Quantum if you're familiar with Quantum you might have seen them around because the probability distribution function of a particle also flows that little bit of trivia unrelated actually I'm gonna skip I'm gonna go over to one of our we
papers that explain that better you can find all this material open by the way all more detail with more talk more thory explained all of that is available online I wanted to also show this one in particular because show you what a gab that looks like a bit better that is a Gabor wavelet or Gabor filter basically it's the mix of uh a Goan filter which is going to encode some form of locality and a sign filter that's going to encode some form of periodicity um this is what gab filter look like you can have a bunch of them they can be tilted on the side if you want to have some some information at an angle there is basically a whole family
of them um this is the gab filter family and how are those any useful well those are complex valued so so they have a real and an imaginary part the real part is symmetrical so it's symmetrical between that part and that part here these basically can be used in the form of line detector the imaginary part is anti-symmetrical so negative on one side positive on the other side and this can act as the form of edge detector so when you apply A Gabor filter at one point of the architecture you're going to receive a complex
value you can lose the majority of the information actually we drop the majority of the information we only keep the phase which is like what is the angle of that complex vector and then we threshold it we quantize it basically it's going to look at is the imaginary part positive negative and there about positive negative so how to interpret that sorry how to interpret that is basically the real part is going to say assuming there is a line here is it more to the left or to the right of the filter in the imaginary part assuming there is an edge here is it more to the left or to the right of the filter
that's inut shell information here so it loses the majority of the information from the AR code you cannot reconstruct the original Iris image if that wants to load you cannot Recon the original IM made from the iris code the iris code basically contains enough information on the arisure so that when you take another picture of the same person another day with much more light with some fog the person is not is crying or smiling or they wearing a cap or whatever all these modification make that the new arisc generated will be mostly similar back to the presentation here and now the question is what does it
mean mostly similar we have to we need a way to identify whether two Aris codes are the same or not we can't just hash it because there's always going to be some differences a bit can be a zero here but one next time because inherently you're having like a real life process so you're going to use a sensor so the thing can the various picture can be different you can have sensor noise that's different so for a bunch of reason at minimum 10% of the bits are going to flip from one time to another actually it's not that much it's not a lot but we can just hash the information we have to compute
a distance bunch of different ways we can do that but we really using Hamming distance or fractional huming distance is basically the proportion of visible bits that are the same that you count the times where the Q could agree and the times where it don't disagree and you divide that by all the relevant architecture area because you're not going to take that information because the the island is just covering the architecture here so we look at the Hing distance um that's what I was explaining here so if the two are completely the same the distance is zero because there there's no distance between them if they're all different the distance is
one and in practice it's always going to be um something it's never going to be zero never going to be one the interesting thing is the following um the statistical properties of the gab wavelet make it that it's a TOS of a coin between a bit being a zero or a one so if you take two Aris codes that are completely different basically every time you're going to compare the two bits it's a TOS of a coin so 50% of the time because it's 0 one 1 Z 50% of the time one's going to say zero and the other also going to say zero 50% of the time the zero one so if you have a Hing distance between two IR code of 0.5
that's actually in a rage it means that those are super different they're completely random one for another so how do we measure our biometric system performance I'm going to skip that slide from now how do we measure the performance basically we have a graph that goes from zero to a little bit above 0.5 and we going to take a bunch of IM images where we know who is who and then we're going to compare the information of what we know who is who and what the model is telling us and we are always expecting some errors it's never going to be perfect so there is sometimes where two different arises are going to just because of luck have an Aris code
distance hming distance below the threshold we decided that's the false matches and the false non matches is when we have twice the same person but it's above threshold and so how does this distribution look like in practice so we basically gather some data in our lab and we We Gather I think it was like 1.5 million pairs of VAR images again no user data only test data and this is what the distribution looks like basically what are we seeing here we colored by what are the real non- matches and what are real matches
and in the laboratory uh in laboratory setup where the conditions are good everyone is friendly and Cooperative there is a wide gap between the matches and the non- matches which means that in the Cooperative nice friendly well cuted for good everything case scenario we have an absolute perfect system and that was like with more than a million pairs of AR so quite some data to back up that claim and in fact we see two BMS here that's actually um this BM here is two images two iris images from the same eye from the same person but taken a different day and these are images taken
from the same sign up so the conditions are very similar justly mostly mostly sensor noise and this like the peak is at like around 08 so in the everything looks good case we have a system that is ungodly performant because that's logarithmic scale so that in that is like 10% that's a 100% um sorry 1% .1% etc etc so the curve look much more even skewed on the linear scale um and in the case that's in the field where uh things are more rough even that uh the false match rate is at this false mat rate per I 10 Theus 8 and
false non mat rate per pair of I 10 to Theus 5 so our Target is 10 to the minus two here and here it's we want the square of it to be below 10 Theus 12 10 - 8 square is 10 - 16 so we're very good all right and then little quickly and then I'll take some questions around open Aries so basically everything that I've showed you is data either from my eye or from my team and the test data set basically we don't want people just to trust that we're doing good work uh we're open sourcing everything this is already benefiting to the research Community
where people are reaching out to us on they want to use that for I disease research where they can identify easily automatically parts of an IRAs for instance so we buildt everything open source and well here's all the great thing about it basically the only other open source aration framework that exist are usually not so well maintained they're old school they're they haven't been modified in five years or something so what we're having is something that works out of the box because it's deploying in production on the orb it's compl configurable it runs on the or blending M go as Windows it's
python based but there is a lot of rust and go it can work on GPU Etc so a lot of feny stuff that you can do with it that's an example that's the left the right eye for one of my teammate so the segmentation model is going to tell you where the white of the eye is iries pupile eyelashes intermediary steps segmenting out the noise so like the eyelashes or the white Reflections here and that's how the normalized texture look like there is a lot of information you can get here and this is basically what enable us to create some Iris code that represent the person's identity and so when compared literature basically ours is above all the
commercial IR scanner that existed some time ago and I'm still Computing the latest uh result but it's still pretty much in the same area AR recogition have not evolved so much in the past 10 years that's compared to other open source method so that's a big overlap ours there's some overlap because the data is not perfect but it's much less etc etc that's some difference between traditional Iris scanner uh data that's an open source research data set so you can see that the image is very grainy very low quality versus the same uh thing but on the orb where this is the amount of detail that you have on the architecture and maybe I think I can show you and
then take some questions how to use it yourself if you're interested all right so basically we on top of open sourcing the framework itself you can on GitHub poon slopen Aris we have a bunch of documentation and a bunch of tutorials also available there so I can R all of that but basically that's a running everything from scratch is going to take a moment for running everything all right let me scroll back to the top so
it's a python package so you can just install it with Pip you can see all the dependencies here is actually lightweight mostly we use the hugging face her because the segmentation model is open source also available on hugging face Hub mly t bython dependencies a bunch of others so that's good latest St version is 111 make sure you have this one so same image that's still is the image from before so my right eye when we put it in the pipeline this is the metadata we get so we can see how much am I looking straight to the camera or away from the camera how open the eye
is where the bounding box of the eye is etc etc and so how is it looking like so that's my Iris image that's some Iris code produced by it parameterizable take and then the segmentation model that identify where the eyelashes are where the two IRAs and the cleara is and then for that to normalize image you can't see super well here but I haven't adusted the contrast of the image in the AR Cod all right I'll go to the questions now because they're probably are more by now so why choose IRAs when thumb print is
also unique that's a very good question so we have the fingerprints the thumb print the index print all of that um basically even when you take all of your 10 fingers all together um the false match rates the probability that you're going to get match against someone falsely is four to six orders of magnitude higher if I don't M if I'm mistaken that means that we basically can't have a billion user but we can have at maximum I think it's something like 10 million users or 100 so basically we cannot scale to a project that is um at the world scale with only these and then we could have all the
fingerprints plus the iries plus the face plus everything but the more you add biometric modalities together the more you improve the force matate but the more you worsen the force non matate so then we're going to have a system that is equivalent but then it's going to be much easier to fake your way through and get several W IDs all right are these radiations harm for the human eye radiations I assume you mean the 850 nanometer near infrared wavelength and of course this is not a problem for the human eye the sun has some infrared when you go to this heated lamp that's
infrared infrared is a lot of convey lot of energy so we've of course made all the necessary to make sure that the orb is completely harmless to use how does people with eye operation after cataract would be recognized say authenticate so that's a very good question so cataract in and out of itself the cact operation doesn't affect the AR texture too much but there are some diseases or some operation that affect the the AR texure a bit we are currently cataloging all the possible ey diseases all the coron cases all the edge cases and we know this like
a very long process so we're working with medical professionals for that but at the moment we only have we've identified diseases that I either not interfering the arure or interfering a little bit but that IR recogition still work on them in some rare cases I'm pretty sure that there should be some diseases that change the arure enough that we can not match the person back with themselves so some of that must exist but so far in all of our experiment it's nothing that affect the viability of the product what other organs or aspect of human can provide good enough entropy
for Biometrics that's a very good question I think the one that has the highest entropy is DNA because there is so much bits of information in in DNA we've decided not to go in the root of DNA because it's containing it's not just like the way this part of your body looks like it's not just like the irure it's encoding everything about you and so with them that the risk of sequencing DNA on the entire human population was just way too high Iris in out of itself is just like a cm squared more or less of texture which is much more
harmless fingerprints would not be good enough in and out of itself f is not enough good not good enough in and out of itself pal print so when we started the project uh this was definitely not a research subject like very marginal by now I think P print could work at scale but we still have not enough research not enough backlog to prove that Amazon one um so it's a service of Amazon where you can replace your credit card by your P print uh it's going in this direction and so I think we have good hints to say that palm print could work theoretically but again we don't yet
have the guarantee not the research not the papers that prove that at a high enough scale and then you have oh um also to follow up on that question you have a lot of biometric modalities that are called weak Biometrics or soft Biometrics which are think that they really don't have enough entropy to identify you properly at scale but they could be they could bring some information typically ear the way your ear look is nothing remotely as good as fingerprints which is nothing remotely as good as irises but it still brings some information there's been some forensic analysis that's been conducted
on that where somehow they could find like the ear shape of someone that committed a crime and they could eliminate some potential candidates because the ear just look too different gate is one the way you walk right now I don't walk I limp and so if you have a model that can identify that I'm walking that way it can say that oh this person likely is having a cast on the feet for instance so not enough um w a full body scan be a good example of providing entropy so it depends what you mean by full body scan so the first thing is your body metric modality must be stable enough
Through Time iris is amazing for that because the iris of a baby up to when it becomes an elderly the iris is not changing there are me that can that have been measured to change slightly but nothing any relevant at the scale uh of but Iris recognition provides uh so Iris stays the same your Palm line when you're teenager change a lot when you're an adult are roughly stable full bodyes Can Depend exactly what you mean but your posture can change a lot you can get much more bent as an elderly so
the ratio of the length of your spine to the length of your arm for instance will change because the spine will um um dumen a bit for instance I'm not aware of research that's been done on full body scan or like on this side of the entire body I'm pretty sure there would be good enough elements to do some form of verification maybe identification but I don't think it would work at like the scale of mankind all right first question why can't the orb verify only one I and generate only one Iris code and is it possible to pass or verification successful while wearing contact dences
so those are two very relevant questions um why can the orb verify only one I and generate only one Iris code technically it can you can do an iris you can generate an iris code for only one ey but what happens then is that if you want to have a force match rate of one trillion which is a necessary condition for having a working system at up to a billion user so false mat rate of 10 Theus 12 one in the trillion in order to have that there is not enough entropy in one I to do or to be precise there is enough entropy but it's always a trade of you could get your false matate down to 10 Theus 12
but then your false non matate so the probability that you won't be able to be match back with yourself will jump a lot so you could have a system that have 10 to the- 12 false match rate but then with only one I you're going to be it's going to be so much easier for you to just Spam the system and get multiple Iris codes that is not it's not an option so it's something that we physically can do but we decided not to because it would threaten the viability of the project at scale and then your second question is it possible to pass or verification successfully while wearing contact tenses I was actually waiting for this one because if I go back here right let's take that IR image for
instance right now it's visible you can see the RS image pretty well pretty clearly but what happens if you wear contact lenses all right trying to get back to that image okay let's say this one what happens when you wear contact lenses so it depends which type of contact lenses you have like the daily contact lenses the soft one the soft contact lenses they're barely visible it all it just adds like a around the iris very slightly but it doesn't jam with the IR texture I don't have actually examples of that but I could have thought of bringing some here
uh then you have hard contact lenses those that can be like last up to a year these one are smaller and those Jam the arure a lot so we have an AI model another convolutional neural network that detects those and filter them out so in that case we're about to say to the user hey um we can't unroll you uh please remove the contact lenses and then you have the Cosmetic contact lenses so I don't know Naruto's sharing Gan or like an eye that's completely blue or black or white or red naturally those will come on top of the arure they're going to hide the arure completely and that is something that we cannot accept of course you're free to wear contact lenses you're free to use
them to improve your the way your eye look like no problem with that but you just need to remove them to pass the verification of the or otherwise that would just be rejected all right I think I answer to most of the questions in there in the question part I can have a look at the chat but I think we're arriving next to next to the time limit anyway so Brian you ask what are the Privacy implications I'm not sure what are you referring to in here all right I think questions that is
pretty much all right any new ideas you think we should work on am man who are you referring to when you say we should work on here all right I'm not sure that I understand exactly your question and I think we're arriving close to the end of the times maybe I think we can keep it here in any case in any case feel free to reach out to me I make sure that you get my socials probably on LinkedIn or something if you have any questions I'm
always happy to answer them I hope this presentation was useful that it shed some light on what are biometric data how do we use them why is it not evil in and out of itself and how can it actually improve our privacy in that case uh you'll really understood the Privacy part when we talk about zero proof and secure MTI party computation I think the session isn't there yet but this is really where you'll understand how can we take that sensible information and make sure that it's purely opaque and uh cryptographically secure uh re I think I can give you back to you thank you very much for that very interesting qu session so many great
questions I can tell everyone found it really interesting so yeah we will end it there for today I've forgotten what our next session is actually let me quickly check what that is our next session will be on Monday and I think it's World ID use cases and then coming up after that we have three sessions by DC Builder so Z zkl World chain and then future work from um the world coin communities so I hope you're all looking forward to that everyone we'll end the session there for today thank you for joining us again and we'll see you next week yeah we'll share Tang's social media links in the
recording we'll put them under the video so you can connect also any links that you might find useful will be in that description as well so check that out the link will be posted in the Discord tomorrow so you won't miss it okay thank you everyone for joining us I will drop my email otherwise we'll end the session there thanks everyone bye thanks for joining me bye
Related talks
- Introducing Self Protocol
- Ensuring Privacy in Digital Identity to Prevent a Dystopian Crisis
- Self Sovereign e-ID Schemes & Privacy Challenges
- Zero Knowledge for Private Identity on Public Blockchains | European Blockchain Convention
- ZK Identity With No Compromises
- Self governed User Data and Web2 Verifications - Roman Prokhorenko | Web3Privacy Now
- Sismo Workshop | Leo Sayous | Deploying a Sybil Resistant ERC721 Airdrop | ETHDam 2023
- Fireside Chat: Identidad Descentralizada en Acción — El Caso de Nuevo León con Sovra
- Attestations as Web3 Cookies: Leverage your on-chain Data
