HackerTrans
TopNewTrendsCommentsPastAskShowJobs

cmdalsanto

no profile record

Submissions

Launch HN: Maitai (YC S24) – Self-Optimizing LLM Platform

149 points·by cmdalsanto·há 2 anos·75 comments

comments

cmdalsanto
·há 2 anos·discuss
Maitai helps LLMs adhere to the expectations given to them. With that said, there are multiple layers to consider when dealing with sensitive data with chatbots, right? First off, you'd probably want to make sure you authenticate the individual on the other end of the convo, then compartmentalize what data the LLM has access to for only that authenticated user. Maitai would be just 1 part of a comprehensive solution.
cmdalsanto
·há 2 anos·discuss
I understand where you're coming from, let me clarify. I'm surprised at the perseverance of HN users with our game, not nefarious actors in real world. I'm not a leading expert in penetration attacks, but I get the seriousness of handling sensitive data. There are many things we did with this game that I would never advise anyone do, like put sensitive information in a system prompt and make it available to the open internet. The goal of this game was to show conceptually how Maitai helps a model adhere to it's expectations.
cmdalsanto
·há 2 anos·discuss
I guess we realized that we were just building a game to showcase the functionality and let people have some fun learning about what we do, but you're right that we should have treated this like one of our customers and added a few more layers of protection. Thanks for the perspective!
cmdalsanto
·há 2 anos·discuss
Not overstepping, we appreciate the feedback! In real-life, we don't do much guarding around specific phrases that are known ahead of time. It's more monitoring and guarding for general concepts. Since we want our Sentinels to be able to detect a wide range of scenarios for a given expectation, we don't use too much regex. I suppose we could have built specific regex logic for detecting parts of the secret phrase in various languages, though.
cmdalsanto
·há 2 anos·discuss
Yeah some of you guys are very good at hacking things. We expected this to get broken eventually, but didn't anticipate how many people would be trying for the bounty, and their persistence. Our logs show over 2000 "saves" before 1 got through. We'll keep trying to get better, and things like this game give us an idea on how to improve.
cmdalsanto
·há 2 anos·discuss
I just posted, but decided I want to keep it secret for a bit. There are still quite a few people trying to get it, and don't want to spoil the fun. I'll post an update with specifics later.
cmdalsanto
·há 2 anos·discuss
Good dissection, but no we actually don't use heavy general-purpose models for our evaluations - they're way too inefficient.
cmdalsanto
·há 2 anos·discuss
Please email us at [email protected] if you have any questions with integration!
cmdalsanto
·há 2 anos·discuss
The expectations/rules are usually written in the prompt. However, we see that prompts get big and the model has too much to keep track of, which leads to it not following all instructions.
cmdalsanto
·há 2 anos·discuss
The secret phrase has been uncovered and the bounty claimed! Thanks all for trying your hand, and you can continue playing as well if you want, we'll keep the site up.
cmdalsanto
·há 2 anos·discuss
We don't charge for inference with BYOK requests, but still assess a fee to cover our evaluations/corrections step.
cmdalsanto
·há 2 anos·discuss
Thank you!
cmdalsanto
·há 2 anos·discuss
Clever! Not surprised Claude refused to help out.
cmdalsanto
·há 2 anos·discuss
There's some secret sauce here, but since we intercept each chunk as the LLM pushes them out, we can perform evaluations on them and decide what gets sent back to the client if we detect a fault.
cmdalsanto
·há 2 anos·discuss
Yeah that's pretty much how it works. Maitai detected one of our expectations for the LLM was to never reveal the secret phrase, and so it built what we call a Sentinel around that particular expectation to make sure it's enforced.
cmdalsanto
·há 2 anos·discuss
It's pretty easy for us to add support for additional models right now, we just see that the vast majority of people are using just a few models: gpt-4o/4o-mini, claude-sonnet-3.5, llama3/3.1, or fine-tunes on top of llama3/3.1. We'll be publishing some reports on incremental improvement from passive fine-tuning pretty soon!
cmdalsanto
·há 2 anos·discuss
We derive them from your requests as they come in. What we've heard is that most of the time, devs just want the model to do what they told it to do, consistently. That's all in the prompts, we just do a lot of work to parse them, structure them, and maintain them.
cmdalsanto
·há 2 anos·discuss
Good feedback, I agree that our pay-as-you-go pricing may not fit everyone's budget. We're working on reducing our costs and simplifying our pricing. Goal is to get this much, much lower in the coming months. There's some complexity to how we handle pricing, since the core of what we do is based off of ingesting the requests and responses, and performing some processes on top of that info. Some people have small prompts (<1000 tokens), others have massive prompts (80k+). We found that the vast majority are well under 30k, though.
cmdalsanto
·há 2 anos·discuss
Yeah pricing for smaller shops and independent devs is something we're still working on. We'd ideally like for everyone to be able to use Maitai though, so we'll probably release some features on a free plan soon.
cmdalsanto
·há 2 anos·discuss
Thanks!