← heapsort-ai

Algorithms

36 items

RESEARCHarXiv CS.AI·1d ago

A Study of Parallel Continuous Local Search

This study investigates parallel Continuous Local Search (CLS) as a solution approach for Boolean satisfiability problems with symmetric pseudo-Boolean constraints. Empirical findings indicate that redundant constraints can inhibit convergence, CLS shows promise as a sub-solver in hybrid settings, and local search rapidly converges to a stable distribution of solution quality.

60
ARTICLE↑ trendingReddit r/MachineLearning·4/11/2026

FlashAttention (FA1–FA4) in PyTorch - educational implementations focused on algorithmic differences [P]

An updated PyTorch repository features educational implementations of FlashAttention versions FA1 through FA4. The focus is on demonstrating the algorithmic differences and evolution of the method, facilitating an understanding of its design ideas without delving into hardware specifics.

45
ARTICLEDEV.to AI·16d ago

Stop Engineering Prompts: How an Eval-First Harness Let Us Ship 25 Algorithm Versions Autonomously

This article details the creation of an eval-first AI harness that enabled the autonomous shipment of 25 algorithm versions in 13 days. The methodology focuses on immutable test sets and independent reviews to ensure changes do not cause regressions. The author emphasizes that the harness, rather than just prompt engineering or full automation, was key to the pace and safety of development.

28
ARTICLEDEV.to AI·26d ago

How Optimization Search Works — From Hill Climbing to Genetic Algorithms

Optimization is the process of finding a better solution than the current one by evaluating candidate solutions within a search space. It involves an objective function to define what "better" means and an update strategy to guide movement. The challenge lies in distinguishing between a locally good solution and the truly best overall solution, often using methods like exploring neighbors.

28
RESEARCHarXiv CS.AI·29d ago

Fast and Effective Redistricting Optimization via Composite-Move Tabu Search

This research introduces a composite-move Tabu search (CM-Tabu) algorithm designed for fast and effective spatial redistricting optimization. It tackles the contiguity constraint by expanding the feasible neighborhood to include composite moves, ensuring better exploration and preventing the search from getting trapped in poor local optima.

27
RESEARCHarXiv CS.LG·28d ago

Distributional Reinforcement Learning via the Cram\'er Distance

This paper introduces the Cramér-based Distributional Soft Actor-Critic (C-DSAC) algorithm, applying Soft Actor-Critic within a distributional reinforcement learning framework by minimizing the squared Cramér distance. Empirical results demonstrate that C-DSAC outperforms baseline SAC and other distributional methods, particularly in high-complexity environments, attributed to its confidence-driven Q-value updates.

27
DOCDEV.to AI·4/24/2026

Gradient Descent: How AI Learns

The content explains Gradient Descent, a fundamental AI learning algorithm, using the analogy of a blindfolded person finding the lowest point in a hilly landscape. It describes how AI models adjust their weights iteratively based on a loss function to minimize prediction errors, akin to stepping downhill in the loss landscape.

27
ARTICLEDEV.to AI·28d ago

赛仑

This article uses the "Siren" metaphor to analyze how modern algorithms and the attention economy exploit cognitive biases to create "attention black holes". It provides strategies for individuals to resist these digital traps, such as cognitive decentralization and information minimalism.

27