Better HN
topnewbestaskshowjobs
Log inSign up

divyanshusingh

2 karma · joined Mar 13, 2023 (3y ago) · 9 submissions

Submissions

comment 2d ago · link · parent

indeed, that's an upcoming feature. testing is ongoing in beta atm

2.

Show HN: Built a Chess Coach(chessrx.live ↗)

2 points · by divyanshusingh · 2d ago · 2 comments

3.

Glyph: A sub-millisecond prompt-injection detector(github.com ↗)

6 points · by divyanshusingh · 7mo ago · discuss

comment 1y ago · link · parent

I’ve been working on building AI safety solutions for a while now, and one recurring theme keeps coming up: there's always a tradeoff. You can’t have perfect safety, perfect usability, and perfect performance all at once.

So we wrote a paper—No Free Lunch with Guardrails—to dig into this. We tested a bunch of popular guardrail systems (OpenAI Moderation API, Azure Content Safety, BERT classifiers, LLM-as-a-judge methods) across red teaming attacks and false-positive edge cases.

Every approach fails somewhere: some miss dangerous prompts, others flag harmless stuff, and a few are just too slow for production use. We also benchmarked how top LLMs (GPT-4o, Gemini Flash, Claude 3.5, Mistral) react under different system prompt styles (basic, verbose, chain-of-thought). Some interesting patterns there.

If you’re working on LLM safety or just curious about what “guardrails” really give you, give it a read. Happy to answer questions or chat!

5.

No Free Lunch with Guardrails: Evaluating LLM Safety Tradeoffs(arxiv.org ↗)

3 points · by divyanshusingh · 1y ago · 1 comment

comment 2y ago · link · parent

Agreed, on something like battery of tests for `Safety4all` but it'll be too generic not for an enterprise use case.

comment 2y ago · link · parent

Ig, it's there in the paper: training or finetuning the Deberta-V3