logoalt Hacker News

LLM UI Smells and How to Avoid Them

442 points • by supermatt • today at 1:36 PM • 195 comments • view on HN

Comments

sunrunner • today at 2:28 PM

> The exact same sickness has infected AI-generated software.

I'm not sure that AI is the only cause of this, even if it is exacerbating the trend. Apple have been doing this presumably from human direction for a while.

> In UI/UX design, visual flourish and layout exist solely to orient the user, communicate state, and reduce cognitive friction.

This seems like a fundamental principle of UI/UX that isn't understood. The modern interpretation of UX does seem to be that 'We must give the User an Experience (that they will remember)', while to me the ideal UX is the opposite: a User must rarely Experience anything. If I'm consciously experiencing the interface, it's probably in the way.

➕ show 15 replies
bonplan23 • today at 4:56 PM

I always imagined it like this: If you prompt an agent to "build me good and professional looking thing x" you basically get the most average thing that matches that description. Essentially the embedding vector in the middle of the cluster.

But that doesn't mean you have to settle for that. Your job as the creactive person is to push that embedding vector to the corners of the cluster. So it is not just good looking, but also unique (and hopefully useful). You do that by iterating with the agent and bring in your own taste and ideas until you are happy with the result.

It's a bit like working with a super capable person that has zero own taste and is missing a bit that spark of creativity that makes others go "holy shit ...".

➕ show 1 reply
flufluflufluffy • today at 3:11 PM

I get it but the whole bit about the camera in cinema isn’t the best analogy. There are most definitely valid reasons for panning without following a moving object.

It can be expository: the scene begins focused on a bookshelf in the main character’s bedroom, slowly the camera pans across, allowing the audience to take in the book titles, revealing qualities about the character…

It can be used for dramatic effect: the scene begins zoomed in on a gun on the ground, with a weird tapping sound ringing out. Why is this here? Did somebody get shot? What is that tapping…? The camera pans to the side, revealing a body. Ah ha, so someone was shot… or did they shoot themself? And what is that tapping…?? The pan smoothly continues further, revealing a person hurriedly typing on a laptop. Ah ha! So that’s what the tapping is! But why are they typing so fast? And are they the murderer…?

And most importantly, it can simply be artistic: we see a tight shot of a portion of a painting of ocean waves. The sounds of a thunderstorm and waves crashing are heard as the camera pans across the length of the painting, allowing us to take in the way the painter has used their brushstrokes, thickness of the paint, colors and lighting, to convey the emotion of the storm…

Film is an art form; it does not exist to be practical and utilitarian the way that (most) user interfaces do.

➕ show 3 replies
hahuyhoang • today at 7:45 PM

This is my way to avoid UI smells, by following some rules: Function before aesthetics: I will always try to specify the function and UX what will make user comfortable before design/ review the UI. Information hierarchy: Ask the LLM to focus on the most important things. Color and style: based on what you want and love, and the purpose of design, not to much gradient, just use some to highlight, and dont forget to tell them use svg instead of emoji, fake telemetry.

docheinestages • today at 3:01 PM

The best solution is to start with no design at all. Just like how the web looked like in the early 90s. Focus on the content first and minimze prose as much as possible. Remember, less is more! Once that's down, find a standard UI framework and replace HTML elements with components where possible.

If you need evidence for this, just look at how HackerNews is designed.

➕ show 1 reply
lomlobon • today at 2:28 PM

This little article would really benefit from images.

➕ show 6 replies
brookst • today at 2:39 PM

It’s good, and I’ll probably link LLMs to the article as a “beware of doing these” guidance.

But the article missed the single biggest annoyance I have with AI UI: captions and subheads that explain the obvious, or, worse, which explain what the UI isn’t doing.

“Product mix, sorted by revenue” above a table that has a revenue column that’s clearly in descending order.

“Competitive landscape, using company logos instead of names” above a scatterplot that places logos on two axes.

➕ show 4 replies
mrbnprck • today at 2:43 PM

My rule of thumb: Avoid AI for anything that is (human) user facing

myildirimdev • today at 3:10 PM

I care an unreasonable amount about every pixel of the products i build but i disagree with the idea that every visual element needs to serve a functional purpose. How a product feels matters just as much as how it works. removing everything decorative doesn't magically give you good design, taste is still required

➕ show 1 reply
ronbenton • today at 2:30 PM

I have always thought AI-generated UIs have an “uncanny valley” nature to them. It’s probably some combination of the things mentioned in this article that my untrained eye picks up on but I don’t know how to describe it

smusamashah • today at 6:38 PM

What about font? Generated websites have non-smooth fonts for some reason. It looks really cheap. Mostly dark background and light cheap looking font. What is going on with the font. I don't see that font in non-ai sites.

➕ show 1 reply
toddmorey • today at 4:02 PM

I searched around for who that top quote is from, but couldn’t find exact match. If you ever put a quote, put attribution.

Best guess: Screenwriter Craig Mazin, creator of Chernobyl, expressed a similar sentiment on a podcast, so I’m assuming that was the inspiration?

➕ show 1 reply
mellosouls • today at 3:38 PM

Related discussion from this year on a much better featured article:

AI-generated posters don’t have to be horrible (1902 points, 990 comments)

https://news.ycombinator.com/item?id=49764791

➕ show 1 reply
lilerjee • today at 6:43 PM

Because "Current AI is like the film company producing TV series or movies".

Your metaphor is like mine, refer to the article for more detail:

https://devcyc.life/current-ai-is-like-the-film-company-prod...

throwthrowuknow • today at 2:55 PM

The most important point is that AI doesn’t understand your UI from a human user’s perspective. The only way to fix this is to relentlessly dogfood your UI. That’s a slog if you one shot everything so break it down and walk through each feature/path.

jameshart • today at 5:14 PM

This is a really good taxonomy of the main pathologies - and well written, though it did take me a moment to acquaint myself with some of the UI design language terminology. “Gratuitous metadata eyebrows” took a lot of decontextualizing to figure out.

➕ show 1 reply
satvikpendem • today at 6:12 PM

There's a new model called Juice that's apparently been trained on UI and UX design specifically as a designer would, I suppose by RLHF by human designers, has anyone tried it? I wonder if it'll help fix the issues in this article.

https://tryjuice.ai

➕ show 1 reply
GarnetFloride • today at 5:39 PM

Humans have made some pretty bad interfaces. One that has stood out to me recently was working with arcGIS. Now I get that its for hydrologists, civil engineers and the like and packed with features.

But the only way I could find some of the tools I had to use was through the search field embedded in the title bar. There were tabs in panes in sidebars and of course nothing was labeled so you would know where to look.

bryanhogan • today at 2:57 PM

Other relevant sites / posts in this space:

- https://slopstrap.mikelacher.com/

- https://ishadeed.com/article/web-personality/

Now I do wonder whether I should redo the design of my personal page ( https://bryanhogan.com/ ) which I built before AI to avoid gradients and other things which are AI slop tells these days..

➕ show 2 replies
erdesigns • today at 2:30 PM

Actually true, especially the "Smell 6: Emoji & Icon Over-Decoration" part. I noticed this too, if you ask a LLM to create a LinkedIn article, or even to write something simple - its full of emoji's. Also keywords like "Gamechanging", "Amazing", "Faster than ..." are usually a good indicator.

➕ show 2 replies
otiose_tortoise • today at 5:28 PM

Does anyone have a way to get their agent to avoid these pitfalls reliably?

UI changes are some of the most expensive for me at this point — I have to preview every change and iterate.

And this is after setting up a unified theme, shared components for everything, and extensive markdown guidelines for what not to do.

➕ show 2 replies
salman10 • today at 5:31 PM

Then just go back to manual coding at this point. Either you reap the benefits of AI doing the work with all its quirks, or you go file by file the old fashioned way and check what it's doing in every step.

Frontend isnt hard. Simply like a Javascript to its corresponding CSS and thats it.

➕ show 2 replies
bloopernova • today at 2:41 PM

Hah! Definitely guilty of some of those on my homepage, but gosh darn it I like some of those things.

https://www.jarvisclark.com/ <-- if you want to have a giggle. (or 2 minute hate, I won't judge)

➕ show 3 replies
ggregoire • today at 2:31 PM

Yes but people like these smells, so even if I fix them, they will be back the next day. It was already an issue before LLMs, most people don't know/care about UI/UX principles, they think badges and emojis everywhere looks pretty and cool.

➕ show 2 replies
simonw • today at 3:05 PM

This is useful. I just dropped a link tot he raw gist into a project and told it to "audit for these" and it caught a couple I had missed.

➕ show 1 reply
glimshe • today at 2:32 PM

The statistical average works well for the average case, which is actually not that common.

The number of people whose height is within 1" of the average height is around 30%. No matter how good the LLM is, if you don't spell out how your project is different from this range, you'll get something others would see as "slop".

Go check those computer-made pictures of "the average Irish", "the average Vietnamese" etc. They will be attractive but bland faces. Given the rise of AI, the bland, yet previously not so common average is starting to become the majority. Training will be reinforced and it will become ever harder to avoid the range.

I can see people being successful in the future if they can use LLMs to produce truly unique outcomes... But that will take skill and likely an education at least partially away from LLMs.

odo1242 • today at 5:06 PM

The main annoyance for me is the “context leakage for copy and headers” one. Claude and other models seem to be very prone to doing this and it takes a fair bit of effort to get them to stop explaining technical / architectural details next to every button in the app.

fg137 • today at 2:57 PM

My summary that is probably useless to others: it all comes down to taste. Anything that someone would not have done were they to do it manually (while still try to make the site appealing), it's slop.

I personally would rather use PowerPoint to demonstrate my work than letting Claude generate entire "HTML slides". I know exactly what needs to be in a slide and what to highlight. After all, I'm the one doing the talking.

That said, apparently some people are starting to use AI generated voiceover instead of actually giving a presentation. So maybe I'm just old man yelling at cloud.

mohamedmohey • today at 2:35 PM

> Why it happens: The counter-trend to slop has itself become a statistical average.

I think that's currently the main limitation/differentiator between "competent people using AI to accomplish work faster" and "vibe slop"

LLMs regress to the mean unless steered into a specific direction. You have to know where you want to go and what you want the end result to look like.

If you try to fix that by using a "UI skill" you still risk the output being similar to everybody else who used that skill.

You're basically trying to maximize entropy by injecting your own "taste" into the model. Without that you get basically what everyone else gets.

jcjmcclean • today at 3:50 PM

This was a real challenge for me when designing/building Sparrow[1], a browser based arrow word puzzle game.

I wanted it to have its own identity, so I went with an Art Deco-inspired style because I wanted something that felt a bit classy (hopefully!) but also newspaper-ish.

Takes a lot of tuning to end up with something tasteful and then even more tweaking after to get everything to fit together nicely.

[1] https://sparrowword.com/

➕ show 1 reply
DrSiemer • today at 3:02 PM

It helps to anchor your design related prompts to a specific existic aesthetic, like "hospital website" or "forest visitor centre".

abhishekash • today at 2:28 PM

This is indeed a real problem. While working on my side projects as well as my professional work, the hodge-podge of badges and emojis is what i spend so much time undoing.

tombot • today at 2:31 PM

More people need to be using the impeccable skill https://impeccable.style/ has tools and skills to combat lots of this slop.

➕ show 3 replies
kaydub • today at 7:15 PM

> Smell 2: Context Leakage in Copy & Headers

This one is the worst in my experience. Colors, ui, effects all look OKAY to good. But the excess prose/text... it's extreme and it's terrible.

orion_ • today at 5:54 PM

I accidentally solved part of this while working on my own minimal CSS framework, but the approach is more generic.

Ask the agent to build using only the framework's existing components and layout options, and you avoid much of the slop. My framework has eyebrows and badges, though, so even those might end up being overused.

You get consistent styling and spacing, and by customizing the design tokens you can give the UI its own visual identity.

MitPitt • today at 2:30 PM

Giving this as instruction to an LLM will just fall into yet another local minima, defeating the purpose if it ever became popular. The actual solution is just actually directing the design a bit, you can already do that since you're conscious about the current slop designs.

sbochins • today at 6:10 PM

This is the worst in games. It will always say what is happening on screen, including having boring bold Arial font right in the middle of the screen! I just assumed a lot of this was used for debugging / validation, since e2e visual testing is the fastest way to check that it actually works.

lofaszvanitt • today at 5:53 PM

I always wondered why UI/UX/frontend designers are underpaid. And why big corps like Apple, Youtube, Facebook make theirs minimal, hard to use and incorporate zero creativity.

ragdollk • today at 7:21 PM

There was a great book called "Don't Make Me Think". The 4th edition just came out, though I only read the 2nd edition, so not sure how much the new one is impacted by recent changes. The idea behind the book I feel is very important to the UI/UX issues we see today.

Stop confusing the user. Bad AI generated design is really a symptom of the AI design process: A bunch of half-bake ideas being thrown into a piece of software or a site that have no fully flushed out usage. And when I say "usage" I mean what the user does to try and create the desired outcome they wish. That's what is lost! And as much a we keep coming up with these "unslop" skills for agents, they really aren't going to address that larger problem, just paint over it with a set of new UI/UX that avoids the last UI/UX AI trend.

flowerthoughts • today at 3:43 PM

A very constructive discussion. I'll be sure to add this Gist to CLAUDE.md. Thanks!

> A developer says "Make this run client-side in the browser", and the LLM plasters "100% Client-Side WebAssembly Processing" across the header.

This is 100% the biggest issue with copy-writing using Claude. Not having a "me, you, them" sense that separates instructions to "you" from information to "them." But there's also the inability to rank information importance.

> Smell 6: Emoji & Icon Over-Decoration

I can live with visual bling, and like the author says, it's based on actual pages. At least we got rid of the overuse of emojis in README feature lists. But even now that Claude is pretty good at generating SVGs, it likes using emojis. Perhaps this is rooted in "not invented here" being considered bad.

Icon sets also promote the idea that uniformity is good, though it's more a cost thing for those of us who can't draw. But Claude doesn't understand the concept of "it's actually cheaper if I do it than if Flowerthoughts does it, so the same rules don't apply."

mirthflat83 • today at 3:31 PM

Perhaps OP should learn how to avoid LLM post smells and avoid it on his own post

icase • today at 5:21 PM

i simply cannot comprehend how anyone with any taste or pride in their work can ship unedited LLM output to human eyes.

code is fine; nobody sees it.

but forcing humans use their valuable time to ingest your model’s unedited output is incredibly insulting.

tjohnell • today at 2:35 PM

Once you get over the fact that nobody is putting effort into their UI and you embrace the average, it’s not so bad. Sure, you can no longer judge a book by its cover anymore, but at least the truly god awful designs are gone. We’re all holding onto the past. Let the averages flow through you.

➕ show 2 replies
glennfiedler • today at 2:53 PM

I love AI but this whole page has the LLM smell

rcpt • today at 4:46 PM

Every LLM site reminds me of

Lisa: "Dad, there are other wipes besides star wipe"

Homer: "why eat hamburger when you can have steak?"

NackerHughes • today at 3:54 PM

The irony that this article reeks of LLM. Pass.

trio8453 • today at 2:36 PM

So many personal projects these days have the same default Claude fonts and beige color themes.

bigmadshoe • today at 6:06 PM

This article ironically looks to be generated by LLMs itself.

agile-gift0262 • today at 6:37 PM

> "The worst thing you can have in cinema is an unmotivated camera move. If you're panning across a scene, you better be following something moving through it, and that thing must have importance to the story. Otherwise, it's just 'Look at me, I'm a director' bullshit. A dolly-zoom that doesn't convey vertigo is just a director showing off a trick."

I think this also applies to what I'd call feature slop. Many vibecoders tend to put every feature under the sun in their apps, just because they can, instead of putting only the features that serve purpose

🔗 View 27 more comments