Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Jev in 25 Lines of Python(nobodywho.ai)
    21comments
  2. GPT-6 Sol and Luna(openai.com)
    712comments
  3. Claude Opus 5.5(anthropic.com)
    933comments
  4. Transit rewards(waymo.com)
    127comments
  5. OpenAI GPT–6 Astra breaks Enigma message that has resisted solution since 2005(cryptocellar.org)
    385comments
  6. Data-only attacks are easier than you think (2024)(usenix.org)
    14comments
  7. 'We hacked the FBI:' Hackers say they have data on all FBI employees(404media.co)
    416comments
  8. Show HN: Npunlock – Run custom C kernels for Intel NPUs(github.com/hsfzxjy)
    3comments
  9. Microsoft killed FoxPro in 2007. Anyway, here's FoxPro revived(foxscript.org)
    181comments
  10. ReBarUEFI: Resizable BAR for almost any UEFI system(github.com/xcuri0)
    45comments
  11. What California is learning from solar panels built over irrigation canals(kqed.org)
    355comments
  12. SAML: A fractal of bad design(trailofbits.com)
    137comments
  13. How did AMD Ryzen get 50% faster in two years?(lemire.me)
    122comments
  14. WordPress: Unauthenticated path traversal leading to conditional RCE(github.com/wordpress)
    97comments
  15. Claude Opus 5.5 Intelligence, Performance and Price Analysis (Max)(artificialanalysis.ai)
    89comments
  16. No Easy Fix for Bogus Respondents in Online Opt-In Polls(pewresearch.org)
    7comments
  17. Pentagon says overreliance on AI contributed to missile strike on Iran school(bloomberg.com)
    317comments
  18. Unreal Agent(unreallabs.ai)
    105comments
  19. How often do you think about the 1893 World's Fair?(thebirthofacapital.info)
    1comments
  20. People hooked on vapes try a new way to quit: cigarettes(bloomberg.com)
    193comments
  21. The softness of metal(psyche.co)
    11comments
  22. The current balance of power in open models(interconnects.ai)
    29comments
  23. Obscura: VPN that can't log your activity(obscura.com)
    106comments
  24. Show HN: JevBench, a reproducible benchmark for typed decision models(benchmarkheaven.com)
    25comments
  25. Grammarly will send unhinged messages to all your users if you try to cancel(reddit.com)
    31comments
  26. OpenAI is well positioned to fast-follow Jev(arcturus-labs.com)
    208comments
  27. Side-stepping the Secretary Problem, unwittingly(evalapply.org)
    13comments
  28. Delta: Highly available, strongly consistent storage using chain replication (2022)(fb.com)
    1comments
  29. Markdown in /src(htmx.org)
    69comments
  30. Apple has added persistent 'ads' to iOS, and it's driving users crazy(techradar.com)
    518comments

Jev in 25 Lines of Python

49 pointsby 1h agonobodywho.ai
20 comments
15m agoHN ↗

Was it? That would make it unusable in any corporate setting.

38m agoHN ↗

Whilst I do like reading these things for technical know how, I can sympathise with the creator of jev who now presumably has to apply an order of magnitude effort to explain why the 100 smaller things done better than this add up to a much better product.

27m agoHN ↗

Replace 'explain' with 'sell'. Don't forget that it's a gold rush. There's no reason to sympathize with corporations in their rush for the slice of the pie.

34m agoHN ↗

Beyond the missing latency and compute comparisons that Heaney commenter mentioned, also nothing about its error rate compared to Jev (nor if it even always outputs in a format the app can parse, not sure how solved that is).

But then at the end it says it’s parody. Maybe HN title should say it’s a joke.

27m agoHN ↗

latency and compute comparisons highly depends on your local setup.

you can swith to a better model for lower error rate.

19m agoHN ↗

Which massively slows down the output. Doing this with Qwen 9B already takes you into seconds per answer territory, and Jev is supposedly frontier level intelligence.

30m agoHN ↗

Going directly for the logprobs is always icky when you use a chat model as base, because they are trained to write prose as output. So your "choice" tokens and thus their probabilities might get diluted in whatever else it wanted to say. If you have to do it in the same way as this post, at least add clear system instructions and a carefully worded beginning to the assistant output section of the prompt to lower the chances of it wandering off immediately.

I've found that using structured outputs solves this problem much better. Instead of letting a model generate only "A", "B" or "C" and looking at the probs, have it directly generate "Legitimate", "Spam" or "Phishing" or any other pre-defined option from a set of multi-token sequences. Behind the scenes it boils down to something quite similar, but you're not running into the risk that the model actually wanted to say "A phishing attempt seems likely, so answer (C) is correct.", which would lead "A" to have the highest probability in the first token. You can even use a reasoning budget this way either via inherent reasoning or a free-form part preceding the remaining output structure. You can also have it assign probabilities (either in words or numbers) using more complex output structures, but I would not rely on them much more than the token logprobs (they can still be quite good though).

19m agoHN ↗

Seems like all normal english words could risk the same, so would using short but random strings be even better?

Actually to me it sounds it could be benchmarked if this kind of effect exists in the first place.

15m agoHN ↗

Best option would be reasoning + clear system instructions + constrained output. That is, if you have to use a chat model. Which works well enough to be sure, but hey I haven't tried raising millions of dollars when I did that 3 years ago. But perhaps I was the stupid one.

18m agoHN ↗

Agreed, it's a real issue, but it can probably be vastly reduced by having the schema in the system prompt and by giving the model an expectation of a fixed value: no decent modern would pick a prose ligament over a provided value.

To completely squash the issue, a few cheap LoRa iterations will do the trick just fine.

4m agoHN ↗

Sure, you can fix that in a couple lines. Then a couple more lines for evaluating multiple questions on the same answer in parallel. Then a couple more lines for the confidence score (which is trivial to compute from all we have, but missing regardless). Then a harness to fine-tune an existing model to perform better on this specific task, and a collection of training data to use for that

I think we can all agree that Jev is not rocket science. It's a good idea executed well, with marketing that might have been a tad too bold

16m agoHN ↗

In my experience as well using logprobs to try to quantify uncertainty, LLMs are a poor fit. Neural nets in general struggle with 'calibration' --- ie. if a prediction is truly 50/50, neural nets are often prone to predicting overconfidently [0].

I ran some tests using GPT-4 to do some basic classification a couple years ago. On ambiguous options which had to be escalated to a human, the LLM would regularly output something like a 99.8% probability, compared to 99.99% for a correct answer.

0: https://arxiv.org/pdf/1706.04599

21m agoHN ↗

Now, can you do it in <200ms for 45 questions at once, have 0% malformed output, and any kind of meaningful benchmark? We’ll wait!

21m agoHN ↗

It's fast.

If you're comparing with something, you need to state 'fast' in relative terms. Jev is definitely fast, and if this Python takes the same time to get a decision then it's also fast. If it's 100* slower than Jev though, you shouldn't be calling it 'fast', because relatively speaking it's really, really slow.

13m agoHN ↗

By design it can't be significantly slower than Jev: the prompt processing (AKA PP) is exactly the same on both and will take most of the time. Then you can process every single "question" in parallel, just predicting one or two tokens (if an answer is ambiguous with a single token) per each question, again in a single batch.

So, fast in the LLM space and comparable with Jev.

7m agoHN ↗

What I don’t understand is, why would you not want “reasoning” in a classifier?

Speed and cost are obvious reasons, but isn’t this a tradeoff?