Saved toolsSubmit a tool
FOXAI SEARCH

Search FoxAI

News stories 545

Optimal Signature-Free Consensus Made Simple

arXiv:2611.41761v1 Announce Type: new Abstract: A recent wave of Byzantine fault-tolerant consensus protocols has aimed to minimize reliance on expensive cryptographic primitives, such as digital signatures. Such protocols are attractive in practice, as they operate under minimal trust assumptions and remain secure in future post-quantum settings. We consider the problem of designing a signature-free Byzantine consensus protocol in the partial synchrony model that is efficient along three key metrics: good-case latency, message complexity, and memory consumption. The ongoing quest to address this problem has so far produced a series of increasingly complex solutions, such as Information Theoretic HotStuff, TetraBFT, and Forget-IT. We show that this complexity is unwarranted. To this end, we present a new modular construction of signature-free, optimally resilient Byzantine consensus that is both simple and efficient. At the heart of our solution is a novel abstraction of Uniform Adopt-Commit (UAC), which augments the classical Adopt-Commit with a fast path that minimizes good-case latency and a uniformity property that ensures consistent propagation of potential decisions. Our UAC-based consensus protocol ensures the optimal good-case latency of $3\delta$, communication complexity of $O(n^2)$ per-view, and bounded memory consumption.

arXiv cs.DC

PrefixChain: Compact Prefix Caching for Hybrid LLMs

arXiv:2611.40264v1 Announce Type: new Abstract: Hybrid LLMs combine linear attention with full attention to bound memory growth during long-context inference. Each linear-attention layer summarizes token history in a fixed-size recurrent state instead of a growing KV cache. However, this design creates a severe capacity bottleneck for prefix caching. Because recurrent states are overwritten in place, rolling back to prefixes requires saving bulky state checkpoints repeatedly. We introduce PrefixChain, a compact prefix caching system for hybrid LLMs. Our key insight is that recurrent states evolve across tokens with strong inter-state redundancy, as each linear-attention step decays the prior state before applying an incremental update. Inspired by inter-frame video coding, PrefixChain organizes checkpoints into closed-loop chains of anchor I-states and low-rank residual P-states, allocating per-head ranks via offline readout-error profiling. To serve chains efficiently online, PrefixChain pipelines layer-grouped encoding asynchronously off the forward path, reconstructs multi-step chains in a single fused GPU kernel, and coordinates dependency-aware eviction with the KV cache. Across three hybrid LLMs and four workloads, PrefixChain shrinks checkpoints by $31.3\times$ to $55.7\times$ with negligible quality loss and reduces mean TTFT by up to $5.03\times$ over state-of-the-art serving systems, such as SGLang, vLLM, and Marconi, while incurring low online encoding overhead.

arXiv cs.DC

Show HN: Bg-be-gone – Cut out people, pets and anime art, all on your own PC

bg-be-gone is an app I built initially with the goal of removing the background from my spouse's pictures in FFXIV, but then I really got interested in the ML side of this!That led me down the rabbit-hole of learning about BiRefNet and alternatives, and eventually I also stumbled into Facebook (now Meta's) segment-anything (SAM).I've been using this pretty heavily for background removal, but one thing that most freemium BG removal tools (or bucket-fill magic wand without some feathering/etc) is getting nice outlines of cartoons/anime.Using BiRefNet general, there's not really this issue!I then had to deal with the fact that BiRefNet tries to infer a subject in images. Normally. But there could be multiple.Well, they handle that, but they don't handle if you wanna crop out just one, or focus on something non-obvious.Then I remembered that my iPhone used to allow me to hold on an object in an image and it'd get a segment. Found out that uses their version of SAM. Implemented it myself.This thing's so awesome! There's so many things I built on top of it with Claude which allow me to give the model a hand! We ended up with a very nice experience where we can fix the model's mistakes and do some pretty amazing crops of subjects on very convoluted images.The thing is, this is not like touching up with the wand in PhotoShop. I use a brush, but it snaps to edges based on what the model infers, so the outlines DON'T LOOK LIKE SHIT!! It's amazing!Anyway. It also supports GIFs, WebP, batches, etc! I think it's pretty awesome and I'm happy and proud with it! I'd love if it helped anybody! Comments URL: https://news.ycombinator.com/item?id=50711166 Points: 1 # Comments: 0

Hacker News Show HN

Show HN: Iac-bench – a benchmarking framework for LLMs on OpenTofu generation

I made a framework for evaluating LLM performance at writing IaC (specifically OpenTofu) modules. You provide a prompt(s) and a rubric.yaml(s) and it will use models you choose to generate a module and grade the results. I've already written 6 briefs across clouds and services (S3, Cloud SQL, App Service, Aurora global, GKE, Azure storage) and have published the results. Each model gets 3 attempts and scores are averaged. The latest run included 24 models x 6 briefs x 3 attempts = 432 modules. Results are here: https://www.massdriver.cloud/llm-rankingsIn terms of how models are scored, 70% is mechanical score from evaluating HCL and plan outputs. The other 30% is an LLM "judge" that uses a published "good OpenTofu" doctrine to grade the modules. Prompts are intentionally left a bit vague to evaluate the expertise the LLMs use to produce a module instead of how good they are at following specific instructions, which is generally quite good.The tool, all of the results and the methodology are all open source.Disclosure: I work at Massdriver, which is an infrastructure automation and continuous delivery platform. I've done my best to keep this tool and it's scoring independent. We simply use LLMs to generate a lot of IaC and built this to figure out which ones were the best at it and thought it would be interesting to the community.Write-up and methodology: https://www.massdriver.cloud/blogs/iac-bench-2026-11-resultsHappy to answer questions. I'd also love to hear from others that have done similar evaluations like this to see if there are some suggestions or requests for the prompts we evaluate and publish. Comments URL: https://news.ycombinator.com/item?id=50701553 Points: 1 # Comments: 0

Hacker News Show HN