Lurker News
Coded using Gemini Pro 2.5 (free version) in about 2-3 hours.

Single file including all html/js/css, Vanilla JS, no backend, scores persisted with localStorage.
Deployed using ubuntu/apache2/python/flask on a £5 Digital Ocean server (but could have been hosted on a static hosting provider as it's just a single page with no backend).
Images / metadata stored in an AWS S3 bucket.

Comments (259) 82 threads

Earlier comments
jacquesm1 reply#
Nice job. Now you really need to study up on the statistics behind this and you'll quickly come to the conclusion that this was the easy part. What to do with the output is the hard part. I've seen a start-up that made their bread and butter on such classifications, they did an absolutely great job of it but found the the problem of deciding what to do with such an application without ending up with net negative patient outcomes to be far, far harder than the classification problem itself. The error rates, no matter how low, are going to be your main challenge, both false positives and false negatives can be extremely expensive, both in terms of finance and in terms of emotion.
sungam2 replies#
Thanks for your comment - the purpose of this app is patient education rather than diagnosis but I will definitely have a look at the relevant stats in more detail!
jacquesm1 reply#
The risk I think is that people will not understand that that is your goal, instead they will use it to help them diagnose something they might think is suspicious.

They will go through your images until they get a good score, believe themselves and expert and proceed to diagnose themselves (and their friends).
By the time you have an image set that is representative and that will actually educate people to the point where they know what to do and what not to do you've created a whole raft of amateur dermatologists. And the result of that will be that a lot of people are going to knock on the doors of real dermatologists who might tell them not to worry about something when they are now primed to argue with them.
I've seen this pattern before with self diagnosis.

nextaccountic#
So what? Are you arguing that ensuring patients have less information available about diseases leads to better outcomes? What's your take on public campaigns about self diagnosing mammary cancer by touch? (very common where I live)

As a patient I'd rather have more information available to me, even if I ultimately defer to specialists
Also it's common for medical professionals to ignore symptoms of certain demographics - in those cases, enabling patients to advocate for themselves is essential https://www.nytimes.com/2022/07/29/well/mind/medical-gasligh...
A personal anecdote of mine was a friend that had abdominal pain for months. She had some comorbidities that made it easier for doctors to dismiss her symptoms. After visits to various doctors she only got adequate treatment because I went with her and advocated for her. After discarding multiple options eventually a renal infection was diagnosed and treated. If she went with the opinion of the first doctor she would still have the underlying condition untreated.

thebeardisred#
To that end I quickly learned something that AI models would as well (which isn't your intention):

Pictures with purple circles (e.g. faded pen ink on light skin outlining the area of concern) are a strong indicator of cancer. :wink:

DrewADesign2 replies#
This is awesome. Great use of AI to realize an idea. Subject matter experts making educational tools is one of the most hopeful things to come out of AI.

It’s just a bummer that it’s far more frequently used to pump wealth to tech investors from the entire class of people that have been creating things on the internet for the past couple of decades, and that projects like this fuel the “why do you oppose fighting cancer” sort of counter arguments against that.

sungam1 reply#
Thanks for your comment - I'm pleased that people have found it useful and definitely only possible because of AI coding. I agree that this is likely to be applicable to non-experts in many different areas.
DrewADesign#
Absolutely. I hope you’ll encourage your colleagues to follow suit!
jacquesm1 reply#
On the contrary. There is a whole raft of start-ups around this idea and other related ones. And almost all of them have found the technical challenges manageable, and the medical and ethical challenges formidable.
DrewADesign1 reply#
I’m not exactly sure what in my comment you’re responding to, here: My appreciation that a subject matter expert is now capable of creating a tool to share their knowledge, that tech investors are using AI to siphon money from people that actually make things, or that good projects like this are used to justify that siphoning?
jacquesm8 replies#
You wrote:

"This is awesome. Great use of AI to realize an idea. Subject matter experts making educational tools is one of the most hopeful things to come out of AI.
It’s just a bummer that it’s far more frequently used to pump wealth to tech investors from the entire class of people that have been creating things on the internet for the past couple of decades, and that projects like this fuel the “why do you oppose fighting cancer” sort of counter arguments against that."
Let's take that bit by bit then if you find it hard to correlate.
> This is awesome.
Agreed, it is a very neat demonstration of what you can do with domain knowledge married to powerful technology.
> Great use of AI to realize an idea.
This idea, while a good one, is not at all novel and does not require vibe coding or LLMs in any way, but it does rely on a lot of progress in image classification in the last decade or so if you want to take it to the next level. Just training people on a limited set of images is not going to do much of anything other than to inject noise into the system.
> Subject matter experts making educational tools is one of the most hopeful things to come out of AI.
Well.. yes and no. It is a hopeful thing but it doesn't really help when releasing it bypasses the whole review system that we have in place for classifying medical devices. And make no mistake: this is a medical diagnostic device and it will be used by people as such even if it wasn't intended as such. There is a fair chance that the program - vibe coded, remember? - has not been reviewed and tested to the degree that a medical device normally would be and that there has been no extensive testing in the field to determine what the effect on patient outcomes of such an education program is. This is a difficult and tricky topic which ultimately boils down to a long - and possibly expensive - path on the road to being able to release such a thing responsibly.
> It’s just a bummer that it’s far more frequently used to pump wealth to tech investors from the entire class of people that have been creating things on the internet for the past couple of decades
As I wrote, I'm familiar with quite a few startups in this domain. Education and image classification + medical domain knowledge is - and was - investable and has been for a long time. But it is not a simple proposition.
> and that projects like this fuel the “why do you oppose fighting cancer” sort of counter arguments against that.
Hardly anybody that I'm aware of - besides the Trump administration - currently opposes fighting cancer, there are veritable armies of scientists in academia and outside of it doing just that. This particular kind of cancer is low hanging fruit because (1) it is externally visible and (2) there is a fair amount of training data available already. But even with those advantages the hard problems, statistics, and ultimately the net balance in patient outcomes if you start using the tool at scale are where the harsh reality sets in: solving this problem for the 80% of easy to classify cases is easy by definition. The remaining 20% are hard, even for experts, more so for a piece of software or a person trained by a piece of software. Even a percentage point or two shift in the confusion matrix can turn a potentially useful tool into a useless one or vice versa.
That's the problem that people are trying to solve, not the image classification basics and/or patient education, no matter how useful these are when used in conjunction with proper medical processes.
But props to the author for building it and releasing it, I'm pretty curious about what the long term effect of this is, I will definitely be following the effort.
Better like that?

Continue this thread — 8 replies

jonahx#
Yeah that seems likely to be a misclassification...
sungam2 replies#
According to the metadata supplied with the dataset yes

Could definitely be a misclassification, however a small proportion of moles that look entirely harmless to the naked eye and under the dermatoscope (skin microscope) can be cancerous.
For example, have a look at these images of naevoid melanoma: https://www.google.com/search?tbm=isch&q=naevoid+melanoma
This is why dermatology can be challenging and why AI-based image classification is difficult from a liability/risk perspective
I was previously clinical lead for a melanoma multidisciplinary meeting and 1-2 times per year I would see a patient with a melanoma that presented like this and looking back at previous photos there was no features that would have worried me.
The key thing that I emphasise to patients is that even if a mole looks harmless it is important to monitor for any signs of change since a skin cancer will almost always change in appearance over a period of several months

jonahx1 reply#
> however a small proportion of moles that look entirely harmless to the naked eye and under the dermatoscope (skin microscope) can be cancerous.

That is very scary.
So the only way to be sure is to have everything sent to the lab. But I'm guessing cost/benefit of that from a risk perspective make it prohibitive? So if you're an unlucky person with a completely benign-presenting melanoma, you're just shit out of luck? Or will the appearance change before it spreads internally?

sungam3 replies#
This is why dermatology involves risk management not just image interpretation. Yes the lesion will likely change with time. Realistically yes, if you have a melanoma that looks like a harmless mole then the diagnosis is likely to be delayed. But remember that these are a tiny proportion of all skin cancers and you are much more likely to get some other form of cancer - most of which occur internally and cannot be seen at all.

Continue this thread — 3 replies

48terry#
> According to the metadata supplied with the dataset yes

"idk but that's what it says" somehow this does not inspire confidence in the skin cancer learning app.

globalise832 replies#
As someone with literally every single possible variation of skin blemish, mole and God knows what else, this scares the living hell out of me.
mewpmewp2#
Yeah, I only have just 1 concerning, but still made me spend 20 minutes googling difference between dermatofibroma and basal cell cancer. I think it is dermatofibroma, but I guess good point anyway to let it get checked out.
abootstrapper#
Get a yearly full body skin check from a dermatologist. It’s a common thing. I’ve been doing it for years because of my skin type. They caught early Basal cell carcinoma the last time I went.

Load more comments