Hacker News
points by samstevens 2 days ago | 0 comments
I worked on this release, happy to answer questions/chat about local AI vs cloud frontier models.
[–] Powdering7082 2 days ago
I am seeing the following in the reasoning trace:

> However, the instructions say I must use available tools when answering questions.

On "What animal lays the biggest egg?" with no system prompt

I assume this is something baked into the model through lots of RL with tool use?

[–] samstevens 2 days ago
Which specific model? and are tools available? I would say that there is lots of RL with tool use, but that the reasoning traces are not always perfect. In general, models think about things that might be wrong, but will recover from this poor line of thinking.
[–] Powdering7082 2 days ago
This was using llama-serve on my local which by default gave it current time & unhelpfully "get_info" which is specific to the browser

The full request was

``` {"messages":[{"content":"What animal lays the biggest egg?","role":"user"}],"return_progress":true,"sse_ping_interval":1,"stream":true,"tools":[{"function":{"description":"Returns the current local date and time in ISO 8601 format, with the IANA time zone name","name":"get_datetime","parameters":{"properties":{},"required":[],"type":"object"}},"type":"function"},{"function":{"description":"Get runtime info (OS name), may call when user asks about local files or shell commands","name":"get_info","parameters":{"properties":{},"required":[],"type":"object"}},"type":"function"}],"reasoning_format":"auto","reasoning_control":true,"backend_sampling":false,"timings_per_token":true} ```

Disabling tools removes the bit about mentioning instructions.

Just an interesting detail I noticed.

Do y'all have any penalty/regularization w.r.t. reasoning traces or is it pure SFT -> RL?

[–] samstevens 2 days ago
interesting, I didn't see it on the playground or on my local llama-server.

SFT -> RL. In our fine-tuning notebooks, we typically say that rollouts that go past the max context length (too much reasoning) get 0 reward, so there is slight pressure for shorter reasoning, but I don't think we have strong regularization. I think the agreed-upon recipe is to first make the model smarter (longer reasoning), then teach it to reason faster/denser.

[–] liquid_richie 2 days ago
(I work at Liquid.) Probably, yes. Per the blog, the last 3.5T tokens of pre-training were a mid-training stage with a larger share of agentic traces and tool calls, and SFT covered tool calling and agentic traces too, because the text model is post-trained to live inside agent harnesses. With an empty system prompt it seems to assume it's in one. I'd try a short system prompt that says no tools are available, and if it still does it, a note on the Hugging Face model page would help the team.
[–] CMay 2 days ago
Did y'all do any particular work that makes these models great for moderation? One of the issues between cloud models vs local is that often people are trying to push the limit of what their hardware can do and it doesn't leave too much headroom for moderation to make the models a little more constrained for kids or schools to use locally, or just for family in general who don't want accidental unhinged results.

In the past I've noticed that some LFM were way better at moderation than much larger models. Not necessarily prejudging what is acceptable, but allowing you to interrogate content with a series of questions to customize the moderation. Other models I tested were far worse.

Decision models are like the next optimization in that direction, but none of the benchmarks for the popular models ever show how good they are at tasks like content moderation. The smaller and more efficient we can get that workload, the more that it can simply be on by default in a lot of use cases without feeling like you're giving up a lot of performance, creative freedom or accuracy. You can't have a high number of false positives or people would rather take control back.

We need local content moderation to be cool, efficient, accurate and configurable so that people can get the higher quality results which unsafe models tend to produce, while filtering out the unsafe results fast enough that it can even be done in an agentic way and fed back into the model to steer its results.

[–] agairola 1 day ago
on moderation, we run an open guardrail benchmark at raxIT Labs and the hosted d1 models do well. d1.1 is #1 of 30 at checking model output for harmful content (94.4 balanced accuracy), d1-ultra is #1 on harmful user requests (88.2). we haven't run the new 2B open weights yet so no number for those. results and method: https://dm-as-guardrails.raxitlabs.com
[–] CMay 1 day ago
This tracks with my experience with their models. Nice work. It would be interesting to see what they could do if they optimized even more for moderation like this without going so far as to hurt the model performance overall.
[–] samstevens 2 days ago
Can you describe more in terms of what moderation you want? I can say with confidence that we don't train for the typical adult-only content you can see on some "de-safe'd" models, but it's not clear to me exactly what you're asking about. We can also discuss over email if you prefer.
[–] CMay 1 day ago
I'm largely referring to the fundamental components that can be combined to arrive at a decision. Is this a real life image or text, or is it some sort of art or fiction? Is this in a context of historical events for education, etc? Is this sarcasm? Is this a real threat? Is this nudity? Does this contain violence and gore? Is this suggestive? How old is this character? Is this content sufficiently related to the content it's replying to, or is it spam? Does this response deviate too much from the input request? Is this a business logo?

There was this book called The Inquisitive Mood and it very much reminds me of the chain interrogation process you can do with models now.

This isn't exactly a single use case, it's more like there are use cases for image editing software that use generative models, there are use cases for local LLMs to get a sense for abstract user intent, or to check if a model's action is in line with policy and so on.

As I said, the Liquid AI models are already very good at a lot of this, but considering how good the models are at it, I'm curious how much y'all train on tasks that are moderation-adjacent. If y'all don't have any model that's really specifically trained for these kinds of tasks, it would be interesting to see how close y'all could get if you tried.

This is an actually important problem in the AI space especially for local development.

There are other moderation tasks that are harder, like "is this copyrighted?" or "is this a McDonald's logo?" because of how much copyrighted material there is and how many businesses there are, but it might be possible to get a good feel for "is this likely a trademark?", "is this a business logo?", "does this text seem to describe a popular character?"

To some extent you can combine a model like this with a good database to optimize the filters and identification. Then you can provide a few reference image or text examples that are closer to what you're trying to filter out and the model can say, "yeah, this content is pretty close to your examples."

Google and OpenAI have already released some of their open source safety models and they were really quite bad, from my testing. Yet, Liquid AI hasn't really leaned into promoting their models for moderation purposes despite being excellent. I know there is a lot of political intersection in moderation, especially in the past many years, but I think a model that is smart enough and excels at letting people apply their own rules with fairly good accuracy is important right now.

[–] maxiR8 2 days ago
Is interesting how the live mode is restarting the text every 30 sec, wonder how it can impact a thing that may be agreed over several minutes. Say I would like to get action items out of an hour long recording, am I supposed to go straight from the audio with LFM3-Audio-2B? Or is it transcribe first and give the text to LFM3-1.7B? What if I want to fine-tune the action items routine. How many labelled examples do you estimate such task may need?
[–] samstevens 2 days ago
It all depends on your hardware and throughput requirements. Suppose

1. I were building for my work laptop (M4 Max, 36GB RAM)

2. I had a batched use cases (transcribing + making action items for all meetings in a day)

I would use the LFM3-Audio-2B for ASR (audio -> text transcript) and then LFM3-1.7B for extracting particular action items and adding them to my tool of choice (Linear, Jira, Notes app, etc).

If you can fine-tune (100+ labeled samples, and a GPU), you likely can fine-tune LFM3-Audio-2B for audio -> action items in a single step.

[–] maxiR8 1 day ago
Thank you for an update. Single step does sound exciting, look forward to check it out once I have the full system and data in place. Would LFM3-Audio-2B provide timestamps and speaker labels for each action item? Did you guys train it for any of those?
[–] samstevens 1 day ago
unfortunately it's not a strong multi-speaker/diarized output audio model. It's a future goal but it doesn't have a timeline. If you have the hardware, I think fine-tuning might be possible.
[–] hypfer 2 days ago
In a few words: Why should I care about this?

What makes it cool? What should make me go "oh yeah let's go"?

From what I can see by skimming the document, I would assume "something something specialized use-cases", but what does that mean? And what does it mean assuming I have attention deficit?

[–] samstevens 2 days ago
Depends on what you care about.

If you want to do local classification/image processing, I think the d1-2B is amazing, it can run on 1GB of unified RAM.

Now that it's released and I have weekends off again, I'm going to play with the VL-2B model and the d1-2B and see if I can prompt it to control a small Lego robot arm like this https://bricksrl.github.io/ProjectPage/

If you like agents, I think the 1.7B is very strong for its size and can be used to automate small stuff like classifying emails, cleaning your downloads folder, etc.

It can also be fine-tuned for specific use cases with SFT/DPO/GRPO. The blog post talks about fine-tuning for wind-turbine classification. If there's things you want to automate, but GPT-6-Luna is not strong enough, and bigger models are too expensive, you might fine-tune one of the LFM3 models and use it locally for repetitive tasks.

[–] colingauvin 2 days ago
No weekends. We need you to get back to work on the next 8B.
[–] 0xbadcafebee 2 days ago
It's a model designed to be tiny and still functional, unlike other larger models that are just scaled down and then run into problems (doom loops, intelligence/reasoning failure, tool call failure). You use it when you want a fine-tuned tiny model processing text/audio/video on multiple platforms. (I don't work for them but this is my takeaway)
[–] liquid_richie 2 days ago
Disclosure: I work at Liquid. For local agents, LFM3-1.7B fits in about 1 GB at 4-bit, holds 256K context, and was post-trained for harnesses like Hermes Agent and OpenClaw. On WebArena-Verified it goes from 3.0 with LFM2.5-2.6B to 38.4. You can fine-tune it for your own task on one GPU.
[–] TobTobXX 2 days ago
Is LFM3-Omni-2B worse or roughly equal at vision tasks compared to LFM3-VL-2B?

In other words: Should I select the model that matches my desired capability set or just use Omni?

[–] samstevens 2 days ago
unfortunately the models are still stronger without extra modalities. So LFM3-1.7B is better at pure text tasks than all other models. the LFM3-VL-2B is better at text/vision tasks than the Omni, the Audio model is a stronger ASR/TTS model than the Omni, etc.

It's a goal of ours to continue unifying training across modalities so that there is truly one model, instead of just this shared pre-trained backbone.

[–] nostrebored 2 days ago
Is it a parameter count problem? Ie why are you not seeing the cross modality bump in performance?
[–] irthomasthomas 1 day ago
Has the cross modaility bump been conclusively proven?
[–] samstevens 1 day ago
my intuition is that cross modality improvements do not really show up in practice, and especially not in small models
[–] rullopat 2 days ago
Congrats for the achievement!

I'm curious if this model would be useful for OCR or at least text documents parsing (PDF, DOCX, etc.), what do you think?

[–] samstevens 2 days ago
Yes! LFM3-VL-2B is a very strong OCR model for its size, especially given how general a model it is. You can also fine-tune it with a specific output format and it will dramatically improve. We have a Google Colab here: https://colab.research.google.com/github/Liquid4All/cookbook...
[–] rullopat 1 day ago
Fantastic, I need to try it! Thanks!!
[–] nostrebored 2 days ago
Was there any intent behind the audio encoder representation or was it frozen backbone -> co adaptation?
[–] samstevens 1 day ago
speed :)

broadly, Liquid focuses on picking architectures that have really high throughput/low latency that are close to full attention (slow) in terms of expressivity, and then we do the data work to close any remaining gap. so the big goal is to make it very very fast to encode data without any loss in quality.