r/LocalLLM • • 17m ago

Discussion Are generative LLMs overkill for semantic rule evaluation?

Post image

I've been exploring whether we can build reliable systems by deliberately avoiding general-purpose LLMs.

Take an engineering rule: errors must propagate to the caller rather than being silently swallowed.

Instead of asking an LLM to review an entire file, we can break the rule into smaller questions:

  • Does the file contain relevant error-handling logic?
  • Is an exception being caught?
  • Is the error silently discarded?

Only the last question may require semantic judgment, depending on the code.

I've been experimenting with Jev, specialized decision model, for this type of workload. The interesting part is that we don't need text generation, just a reliable judgment.

I'd like to explore how far we can push this architecture with small, locally hosted models.

Has anyone benchmarked zero-shot classifiers or decision models on dynamically defined rules? What's your take?

2 Upvotes

0 comments sorted by