Unlocking Structured Pruning for Reasoning Language Models via Attention-Preserving MLP Trimming

信息流

全部时间,共 60528 条

论文详情

Demystifying On-Policy Distillation: Where Does the Teacher's Advantage Live?

On-policy distillation (OPD) is increasingly studied as a cheaper alternative to reinforcement learning, yet it remains a form of knowledge distillation (KD) that relies on teacher supervision. We revisit OPD from the KD perspective by asking where the teacher's advantage lies along student-generated trajectories. Controlled token flips at teacher-student disagreements directly measure the accuracy gained from teacher corrections. Single-token flips yield a modest average gain on selected failed trajectories, whereas repeated flips raise accuracy from 28.4% to 74.5%, close to the teacher's 76.9%. Gains continue to accumulate with more flips, but mass- and KL-based selection outperform random flips by 15-18 percentage points at counts of similar magnitude. Selective intervention remains useful after OPD, but greater argmax agreement does not consistently improve accuracy across model pairs. We advocate training schedules that learn more valuable teacher corrections while maintaining distributional stability. Controlled flips and fork-resolution analysis evaluate OPD beyond accuracy by measuring which teacher preferences the student acquires and what further correction can recover.

论文详情

MA-Bench: Measuring Operational Planning in Language Models

How well can a language model turn a large, incomplete and partly contradictory body of documents into a plan when no single correct answer exists? We introduce Mission Analysis (MA)-Bench, built on mission analysis, the first step of military operational planning, in which a staff reads the full situation and states the problem before anyone proposes a solution. Its 10 expert-built scenarios pair synthetic packets of ten to twelve documents with 1,257 expert-written pass/fail requirements, each containing information on their source, question type, and importance level. A reasoning-model judge grades each brief against the requirements without seeing the documents; it grades like a fifth credentialed planner, leaving a four-planner panel's agreement unchanged (Fleiss $\kappa$ 0.42 to 0.41), and a judge from a second provider reproduces the model ranking (Spearman 0.94). Across twenty frontier and open-weights models the best gets 62% of the rubric items right. Models are strongest on facts stated in the documents (58%) and weakest on judgments that must be inferred (33%), and six failures in ten are omissions rather than errors. MA-Bench grades the determinations, not the prose. We release the packets, rubrics, prompts, scorer and every graded brief with item-level verdicts.

论文详情

Imagining Goals with Geometric Horizon Models for Policy Generalization

Training from offline data has allowed for substantial progress in domains such as robotics, leading to general-purpose policies that can be easily applied zero-shot or efficiently finetuned for downstream tasks. However, these policies can still have poor generalization, both due to the choice of modeling objective and from learning from a static dataset. In this work, we focus on the challenging task of zero-shot goal generalization, where a policy is evaluated on unseen tasks that require combining its existing knowledge (compositional generalization). An avenue for improving a policy's generalization is by generating new experience with world models; however, such generation has proven difficult for longer horizons. Thus, to alleviate this issue, we propose TD-Aug, which samples from a geometric horizon model and allows for directly imagining novel outcomes that can be achieved by composing existing knowledge. We demonstrate that training on these future outcomes as goals for goal-conditioned BC policies significantly improves generalization in stitching-based OGBench tasks.

论文详情

Unlocking Structured Pruning for Reasoning Language Models via Attention-Preserving MLP Trimming

Structured pruning reduces LLM inference costs by removing model components to produce smaller dense models. However, existing methods can cause reasoning performance to collapse on long-form reasoning tasks such as AIME. We propose \textit{LayerTrim}, a training-free structured pruning method that identifies redundant decoder layers and selectively trims their MLP features while preserving attention and decoder depth. LayerTrim is the first training-free structured pruning method designed to preserve long-form reasoning without gradients or recovery training. Across three reasoning language models and five benchmarks, LayerTrim outperforms existing structured pruning methods in most evaluated settings, improving average accuracy by up to 21.4 percentage points over RESP. On \texttt{Qwen3-14B}, LayerTrim achieves 1.24$\times$ faster prefill and 19.7\% lower peak GPU memory than the dense model, while better preserving reasoning ability. It also achieves the shortest average generation length among evaluated pruned models, while retaining the highest average accuracy. These results demonstrate that LayerTrim improves reasoning efficiency through both structural compression and reduced token generation.

论文详情

Contextual Credit Policy Optimization

Group-based reinforcement learning enables large language model agents to learn from sparse outcome rewards in long-horizon tasks. Recent methods derive step-level credit by comparing observation-matched experiences across trajectories. However, identical observations can occur in different contexts, and matched peers are not equally informative for a given decision. Moreover, favorable terminal outcomes can obscure redundant actions or detours within successful trajectories. To address these two challenges, we propose Contextual Credit Policy Optimization (CCPO). For the first, CCPO weights observation-matched peers from other trajectories by contextual similarity, computed from frozen LLM representations and accumulated trajectory statistics, allowing peers from similar contexts to contribute more to a step's baseline. For the second, CCPO pairs historical credit, which compares the realized return against the weighted peer baseline, with future credit, which measures the change in contextual outcome value over a short realized continuation. A step is thus credited for the progress it makes, not only for its trajectory's eventual outcome. Both credits are computed in hindsight from rollouts already collected for training, enabling CCPO to address these challenges without an auxiliary value critic. Across two Qwen2.5-Instruct backbones (1.5B and 7B), CCPO achieves up to 97.4% success on ALFWorld and 79.4% on WebShop and outperforms GRPO by up to 21.6 and 18.5 points. Ablations show that contextual weighting outperforms uniform weighting, and that historical and future credit serve as complementary learning signals.

论文详情

Backpropagating Verifier Rewards Through Continuous Flow Language Models

Reinforcement learning (RL) has substantially improved the reasoning of autoregressive and discrete-diffusion language models. Language models that generate continuous token embeddings are emerging as a strong alternative, but RL post-training for them remains understudied. We propose \method{}, a post-training framework for continuous flow language models. Such a model denoises token embeddings over multiple steps and decodes them into discrete tokens only at the last step. To obtain pathwise gradients, which backpropagate through continuous actions and have much lower variance than REINFORCE, we introduce a critic that estimates the value of intermediate token embeddings, bypassing the non-differentiable decoding step. The critic must also keep track of the value function as the policy changes; to this end, we design a critic that predicts a value from every token representation and improves policy optimization. Across four reasoning tasks, \method{} reliably improves a continuous flow language model through RL post-training and outperforms baseline methods of the same type.

论文详情

How Inner Optimizers Shape Replica Scaling

Training large language models (LLMs) across geographically distributed and poorly interconnected compute pools or data centers has become a topic of significant interest. This has led to increased study of local optimization methods such as DiLoco for LLMs, especially those that use local (or inner) adaptive or preconditioned optimizers, which are critical for high-performance LLM training. However, a central challenge remains: it is well known that increasing the number of model replicas (replica scaling) while fixing the total training budget leads to monotonically decreasing performance. Existing work has empirically demonstrated that the choice of inner optimizer (Muon v.s. AdamW) can significantly improve this trend, but offers only limited explanation of the performance difference. In this work, we consider a range of inner-optimizers and identify two important factors that impact replica scaling: (1) the covariance structure of the pseudo-gradients and (2) the impact of batch size on the pseudogradient's noise scale. Based on these insights, we theoretically and empirically demonstrate that whitening-based pre-conditioning is a powerful inner-optimizer desideratum. Our empirical evaluation extends the results to reveal that whitening-based inner-optimizers achieve strong replica scaling (for 8-96 replicas), with performance relative to DP improving as parameters and data are scaled.

论文详情

What Information Buys in Active Inference

Information-theoretic exploration is of primary interest in methodological studies of reinforcement learning (RL) and computational cognitive neuroscience, while the established RL theory builds regret guarantees on confidence sets. This situation leaves open the conditions under which the information-driven exploration found in nature is more advantageous than the exploration of the established RL theory. We put the state-of-the-art methods of these two paradigms, Active Inference (AIF) and Bayes-UCBVI, on an equal footing: both act through the same state abstraction of a tabular MDP with $S$ states, and their greedy forms differ only in the exploration term. We find that AIF's information gain decays too fast to serve as a confidence width, locking greedy agents that explore by it out of the optimal action. Calibrating the information gain by a square root yields calibrated AIF, which attains regret of order $\sqrt T$ for an exact abstraction, but no better guarantee than Bayes-UCBVI for a fixed reward. When an adversary chooses rewards from the agent's data, Bayes-UCBVI's value-specific widths lock out, whereas calibrated AIF pays a factor $\sqrt S$, which no goal-memoryless agent avoids on some MDP whose start states the adversary also chooses. Calibrated information gain thus acts as a reward-agnostic $\ell_1$ confidence set, preferable to value-specific widths when rewards are chosen from the agent's data, not when they are fixed.

论文详情

Loss Curvature as a Sampling-Free Proxy for Memorization in Diffusion Models

Understanding the mechanism behind why diffusion models memorize their training data remains an open question in generative modeling. In this paper, we examine this question from two perspectives: (a) the model-level perspective concerning the onset of memorization in a model during training, and (b) the sample-level perspective concerning the proclivity of an individual sample to be memorized by a given model. We show that the so-called input loss curvature, or the Frobenius norm of the Hessian of the diffusion model's training loss, is an effective metric for quantifying both perspectives on memorization. In particular, we empirically demonstrate that input curvatures averaged across training and validation samples can identify when a model is likely to start regurgitating its training data when tracked over training time. However, this metric is not sufficient for measuring an individual sample's likelihood of being memorized. To address this perspective, we introduce a counterfactual definition of memorization in diffusion models, extending the analogous notion from supervised learning proposed by [Feldman, 2019]. We prove that this counterfactual memorization is controlled by the input curvature of the leave-one-out model, thus establishing a direct theoretical link between a sample's local loss landscape and its generation likelihood. We validate our derived bounds through several empirical experiments and show that input-dependent curvature provides a proxy for memorization.

论文详情

Lag: A Mean-Field Optimal Policy for Online Assignment with Reusable Resources

We study online task assignment with reusable resources. This problem arises in peer reviewer assignment, skill-based call routing, rideshare matching, emergency dispatch, and crowdsourcing: Tasks arrive according to a geometric process and must be immediately assigned to servers that become temporarily busy, yielding rewards that depend on the task-server pair. The goal is to maximize long-run average reward. We cast the problem as a contextual restless multi-armed bandit (CRMAB). We derive an occupancy-measure LP (OCC-LP) that upper-bounds the reward of any work-conserving policy. From its dual we obtain Lag, a closed-form index policy. We introduce a scaling regime in which the number of copies of each server and the number of arrivals per step grow together. This regime yields the first deterministic fluid limit for a contextual bandit. In it, Lag is asymptotically optimal. Finally, we evaluate our algorithms on peer review datasets and call center routing. The Lagrangian index achieves 83-99% of the LP upper bound across all load levels. Moreover, the Lagrangian index policy significantly outperforms the natural greedy assignment scheme, improving reward by up to 12.3% on journal data and 36% on structured synthetic instances.

论文详情

How Many Ranks Does a Token Need? A Noise-Floor Squelch for Rank-One LoRA Experts

Low-rank adaptation (LoRA) applies every rank-one component of its update to every token, and mixture-of-experts variants replace this with a learned router that activates a fixed number of components. We argue that the number of components a token needs is a detection question with a classical answer. A token's responses to the rank-one components of a trained LoRA consist of a few large values on a Gaussian noise floor whose width matches that of an untrained adapter, and the floor carries cross-talk rather than adaptation. We introduce SQUELCH, a router-free mixture of rank-one experts that (i) soft-thresholds each token's responses at a multiple of its own robust noise level, so the active rank varies per token; (ii) chooses that multiple for each module by Stein's unbiased risk estimate, so no rank budget is specified; and (iii) replaces the resulting marginal keep-or-drop decisions by one explaining-away step on the value Gram matrix, which suppresses redundant co-active components and recruits complementary ones. SQUELCH adds no trainable parameters to LoRA. We prove that the squelch is within a logarithmic factor of the oracle input-dependent allocation, that the selected threshold is risk-consistent, and that explaining away is a descent step toward the joint sparse code whose error is controlled by the coherence of co-active components. On commonsense reasoning, knowledge, math, code, and GLUE with LLaMA-3.1-8B, Qwen3, and DeBERTaV3, SQUELCH improves over LoRA by 2.2--3.2 points and over the strongest mixture baseline by 0.8--1.2 points while activating 8.6 of 32 components per token on average.

论文详情

Scaling Cheap Synthetic Pretraining Improves Indoor Radio-Map Prediction

Real measurements are too limited to train an accurate indoor pathloss predictor that works across a wide range of buildings. Large-scale synthetic pretraining offers a way forward, but real building layouts are also scarce, and accurate ray-tracing simulators are slow, expensive, and often proprietary. We address both problems by introducing a generator that automatically creates diverse indoor layouts and a fast, open-source approximate ray tracer that computes radio maps for them. Using this pipeline, we generate 128M synthetic samples, pretrain ResNet-101 and Swin-T encoder-decoders, and fine-tune them on high-quality benchmark data. Despite simulator mismatch, our ResNet-101 model reduces error by 15% on average relative to the best known methods across five indoor radio-map prediction tasks and improves transfer on a small real-measurement dataset. Both architectures show predictable data-scaling trends: power laws fitted on 2M-16M samples predict the mean normalized downstream RMSE at 32M-128M with 3.33% mean absolute percentage error for ResNet-101 and 7.10% for Swin-T. These results show that pretraining on large amounts of cheap simulated data can improve indoor radio-map prediction, even when real measurements and high-quality simulations are limited.

论文详情

PMO-Dock: Benchmarking Docking, Specificity, and Generalization in Molecular Optimization

The Practical Molecular Optimization (PMO) benchmark standardized evaluation in molecular optimization, but it is built on simple property-based oracles that do not capture structure-based drug design. As the field has moved to docking-based objectives, evaluation practice has become unstandardized, and different methods report results on different docking tasks, often without a shared protocol for fair comparison or sample-efficiency constraints. To address this, we introduce Practical Molecular Optimization for Docking (PMO-Dock), a benchmark and protocol for docking-based optimization consisting of 25 tasks covering hit generation, lead optimization, and a new specificity task requiring strong on-target binding while penalizing off-target interactions. The protocol separates model development from final evaluation: validation tasks are used for hyperparameter tuning, and test tasks are held out for final evaluation and are not used during development. Evaluation on the test tasks is done under a strict oracle budget to reflect realistic drug-discovery settings. We benchmark four diverse high-performing methods spanning different optimization paradigms, Saturn (reinforcement learning), GenMol (discrete diffusion), Genetic-guided GFlowNet, and ChemLlama (LLM-based evolutionary search). Our results show no universally best method across tasks, additional analyses of hyperparameter transfer (cross-task and cross-category) and sensitivity show that transfer is often limited and varies by method, motivating method-dependent selection strategies. This benchmark provides a concrete standard for evaluating generalization to unseen tasks and sample efficiency under a limited test-time oracle budget.

论文详情

Do Perturbation Predictors Learn Gene Interactions? Diagnosing Extrapolation in Agentic Screening

High-throughput perturbation screens increasingly use machine-learning models to predict the effects of gene combinations that were never measured. A difficult case arises when both genes in a test pair were seen individually during training, but their combination was not. In this setting, standard OOD methods often fail because neither gene appears unfamiliar on its own. We therefore compare each model prediction with a simple additive prediction obtained by summing the two observed single-gene effects. The difference between them, which we call additive disagreement (AD), measures how much extra interaction effect the model introduces for an unseen combination. Across eight prediction methods and three Perturb-seq datasets, specialised neural predictors do not consistently outperform this simple additive baseline. More importantly, predictions with larger deviations from the additive baseline tend to have larger errors. Conventional output-based and embedding-based confidence signals are inconsistent across datasets and models, whereas AD remains informative across all evaluated compositional settings. We further study how this signal can guide decisions in an agentic perturbation-screening workflow. The code is available at https://github.com/zygao930/OOD.

论文详情

Inverse Reasoning Models for Efficient Post-Training and Verification from Answer-Only Data

Post-training reasoning LLMs often requires making a tradeoff between costly supervision and compute inefficiency: supervised finetuning typically requires reasoning traces, which is data inefficient since in many applications one only has prompt-answer tuples and lacks the groundtruth chain-of-thought (CoT) sequence. On the other hand, reinforcement learning (with verifiable rewards, for example) can operate without CoT data but it is much more compute-inefficient since it requires multiple autoregressive completions per optimization step, none of which are guaranteed to give a non-zero policy gradient. In this work we explore a middleground, a self-distillation technique that uses answer-only data, treating CoT as latent variables. This relies on training a partner ``inverse reasoning LLM" that generates the original's reasoning traces conditioned on the answer. The inverse model is trained once and reused across incoming batches of answer-only data, with all generation happening offline and up front, making the approach particularly suited to continual post-training. Using Qwen3-0.6B on the Countdown and GSM8K tasks, we show that after GRPO training has saturated, a single offline distillation round from the inverse model roughly doubles pass@1 on hard prompts and, on Countdown, outperforms rejection-sampling self-distillation on every hard-tail metric at every mix ratio (with smaller gains on GSM8K); rejection sampling by construction has no signal on problems the model never solves on its own. Continued GRPO on the fresh data retains an edge at hard pass@1 but trails distillation at pass@8 and pass@32 while regenerating rollouts at every step. As an added bonus we see that the inverse model has a second application as an accurate verifier of correctness. When used for best-of-$n$ selection at test time, it raises selection accuracy on Countdown from 0.753 (majority voting) to 0.969.

论文详情

Evaluating Compressed Memory: Dependence, Utility, and Content Benefit

Does a language model answer better because its compressed memory contains useful document information? Replacing memory vectors with zeros can lower a trained model's score without showing that it outperforms a model trained without memory. We combine zeroing with separately trained models that cannot access stored text or receive the same constant input for every document. Across nine systems, some models rely on memory yet perform worse than the trained alternative. For example, in experiments that predict states in generated stories, zeroing memory worsens a model's prediction loss, yet a model trained without memory achieves lower loss than the original model with intact memory. On TriviaQA, giving xRAG memory from another question's passage raises F1, which measures word overlap with accepted answers, from 19.38 without a document to 24.78. Its effect on how often outputs contain an accepted answer is statistically uncertain. The question's retrieved passage scores higher still (29.88 F1). Thus a gain over no document alone does not establish that the gain requires the question's passage. Evaluations must therefore specify the comparison model, absolute performance, and generation and scoring conditions.

论文详情

Tail Competition Explains Scaling in Best-of-N Sampling for Verifiable Problems

Best-of-N sampling is a simple inference-time scaling strategy for large language models, yet its behavior under incomplete reward models remains poorly understood. We study Best-of-N as a competition between the extreme reward tails of correct and incorrect responses. This view shows that success depends not only on the probability of sampling a correct response, but also on whether correct responses dominate incorrect ones in the upper tail. Using extreme value theory, we characterize three asymptotic regimes: correct-tail-dominant, incorrect-tail-dominant, and critical explaining both monotonic gains and reward-hacking-induced degradation. We further derive finite-sample scaling laws for representative reward distributions, showing that, under Gaussian rewards, incorrect responses with sufficiently large variance can dominate selection even when their mean reward is lower. Unlike oracle selection, convergence with an incomplete selector can be polynomial rather than exponential. Finally, we propose a lightweight tail-tension criterion to estimate when additional sampling may become harmful. Experiments on synthetic data and real reward model scores are consistent with the theoretically predicted regimes, scaling laws, and diagnostic behavior, suggesting that tail competition provides a unified lens on Best-of-N sampling for verifiable problems.

论文详情

LLM-jp-4 Technical Report

This paper presents LLM-jp-4, a family of Japanese sovereign large language models (LLMs) developed with an emphasis on transparency, reproducibility, and practical usability. LLM-jp-4 comprises an 8B dense model and a 32B-A3B mixture-of-experts model, both trained from scratch on approximately 12 trillion tokens. To support independent verification and reproduction, we establish explicit criteria for selecting training data, external models, and software, and make the development process publicly available. Evaluation results demonstrate substantial improvements over previous LLM-jp models and competitive performance against open-weight models of similar scale. By documenting the development principles, training procedures, and empirical findings of LLM-jp-4, we aim to provide a reference for future sovereign AI development.

论文详情

PersEvalBench: Can LLM Evaluators Judge Contextually Appropriate Use of Persona Information?

Large language model (LLM) evaluators are increasingly used to assess personalized assistants, yet whether they can reliably judge personalization has rarely been tested. We introduce PersEvalBench, a benchmark testing whether an evaluator can recognize appropriate and inappropriate uses of user history. It contains 403 multi-episode scenarios where user information should persist, transfer, or cease to apply. The benchmark covers nine controlled error subtypes across three families: under-personalization, over-personalization, and misapplied-state errors. Human audits confirm that generated errors match their intended types and that the prescribed uses of user information are reasonable. Across five LLM evaluators, recognition of controlled personalization errors remains limited even with the full dialogue history. On the human-evaluated subset, under-personalization shows the largest gap: humans recognize 94.4% of these errors, compared with 63.9% for the strongest reported evaluator. Evaluators often recognize that a response is problematic but reverse the error direction, mistaking failure to follow an applicable preference (UNDER) for use of an inapplicable preference (OVER). Easier evidence access offers little help: highlighting the relevant history turns raises error recognition only slightly, suggesting that the remaining difficulty lies in judging what role that information should play in the response.

论文详情

Can LLM Agents Efficiently Identify Appliance Faults? Insights From Diagnosing a Simulated Appliance

In so-called "Industry 4.0," integrated sensors, analytics tools, and other digital technologies supplement industrial workflows, potentiating enhanced visibility and automation. Prognostics and health management (PHM) and natural language processing (NLP) practitioners alike have explored the application of large language models (LLMs) to industrial asset management, but many prior works' focus on exam-like benchmarks has limited their assessment of LLMs' ability to automate practical operations. Herein, we introduce CoffeeBench, a fault diagnostics task for LLM agents, using a simulated appliance. The LLMs we evaluate struggle to consistently identify faults from the sensor information alone, but the best-performing ones can iteratively refine the fault-option space to eventually obtain a successful diagnosis. Our subsequent analyses, therefore, focus on: differentiating models by diagnostic efficiency (RQ1); examining the lagging performance of the three worst models (RQ2); and identifying viable heuristics for selective prediction (RQ3), including that initial diagnostic uncertainty and LLM-judged soundness of reasoning are high-signal predictors of diagnostic success. In addition to our benchmark results (Section 3.1), we provide practical insights for improving the performance of the open-weight models on CoffeeBench, such as by explicitly tracking episode state on their behalf to reduce timeouts (Section 3.2) or applying a deliberation loop to refine diagnostic hypotheses (Section 3.3).

论文详情

Copy-Paste Language Models

Transformers are intuitively considered to be efficient at copying from their inputs. We actually show that the ability of LLMs to copy in context can be improved through explicit modeling. We propose Copy-Paste Language Models (CPLMs), which add a lightweight Copy-Paste head to the conventional language modeling (LM) head. CPLMs improve training efficiency, downstream performance, and offer new operating points in long-context and retrieval setups. We validate our approach by pretraining models from 135M to 1.7B parameters, showing improvements across all scales and backbones with negligible training and inference overheads. We explain the success of CPLMs by showing that they partially mitigate the LM head gradient bottleneck through an alternative gradient path.

论文详情

Titan-Llama: Retrofitting Pre-trained LLMs with External Neural Memory Modules

Transformers are efficient to pre-train at scale because attention permits parallel computation across sequence positions, but long-context inference requires increasingly large KV caches. Efficient recurrent alternatives reduce the asymptotic complexity of inference, but their sequential dependence limits token-wise parallelism during training, making them harder to scale. Further, the current paradigm of extending long context tasks creates competing notions of retaining information precisely and keeping long-context inference efficient. To address this gap, we introduce Titan-Llama, a post-training method for retrofitting attention-based language models with a hierarchical memory architecture that updates parameters at test-time. Titan-Llama applies a blockwise attention mask and preserves full-fidelity attention over recent tokens while compressing historical context into recurrent, fixed-size neural memory modules (NMMs). Our formulation allows pre-trained attention layers to be replaced without training a new language model from scratch. On Llama-3.2-1B-Instruct, Titan-Llama raises accuracy over segmented attention windows from 23.87\% to 40.51\% on QuALITY and from 14.50\% to 40.75\% on LongHealth. Inference benchmarks show more than 20\% faster prefill, 37\% faster decode at medium context lengths, and 24\% lower steady-state decode memory usage in the evaluated configurations. Together, these results demonstrate that incorporating memory architecture mechanisms that utilize test-time training effectively modulates long-context behavior of pre-trained models, offering a practical route to adapting pre-trained transformers for efficient long-context inference. Our code is released on Github \href{https://github.com/sarahpannn/titans-pytorch/tree/main}{GitHub}

论文详情

Weighted Ensemble Sampling for Rare-Event Estimation in Language Models

Rare but severe failures of large language models can become practically significant at deployment scale. Estimating their probabilities with direct Monte Carlo sampling is highly inefficient, while proposal-based methods typically require auxiliary learning of an additional proposal distribution. We introduce \textbf{Weighted Ensemble (WE)}, a training-free framework for rare-event estimation in language models. WE samples exclusively from the original language model and improves upon direct Monte Carlo by periodically reallocating the sampling budget toward prefixes that appear more likely to reach the target rare event. To guide this reallocation without learning a separate proposal distribution, we exploit internal LLM representations as prefix-level signals and empirically validate their effectiveness. We provide a theoretical analysis of the proposed algorithm. Experiments on safety-related tasks spanning both small-scale and modern large-scale LLMs demonstrate that WE improves the efficiency and reliability of rare-event probability estimation.

论文详情

How to Evaluate When You Don't Know How to Evaluate? Choosing Reliable Setups for Base Language Model Benchmarking

Evaluation of large language models (LLMs) remains largely pre-scientific: it involves many design decisions, with little guidance on how to make them. These choices can substantially affect measured performance and, consequently, decisions about subsequent pretraining. To identify effective evaluation setups, we investigate 8 aspects, such as task formulation or the number of in-context examples. We compare the setups using three widely-used signal criteria, repurposed as normative meta-measures: monotonicity, non-randomness, and ranking consistency of the evaluation scores across intermediate checkpoints. In an early pretraining scenario, we evaluate these setups on 26 monolingual 2B-parameter models trained on different types of data, using 80 tasks in four languages. We also examine the setups on three larger LLMs ($\geq$7B) in the same four languages and explore how the preferred setups change with model scale. Our results yield concrete recommendations: some choices, such as the use of multiple prompts, are consistently useful, whereas others, such as task formulation, depend on model scale. More generally, our framework serves as a recipe for the choice of evaluation setups in new scenarios.

论文详情

Fantastic Metrics and How to Find Them: Meta-Evaluating Metrics for Multi-lingual Style-Personalized Generation

Meta-evaluation of text generation metrics and LLM-judges is primarily conducted using metric-human correlations. However, prior work has shown that correlation is not an appropriate estimate of a metric's evaluation capability and can be unstable across evaluation settings, such as different datasets or languages. Therefore, we propose a regression-based meta-evaluation of metrics that learns on calibrated metric outputs to predict human ratings. We ground this measurement relative to a trivial constant-mean baseline and human agreements to provide a comparable measure of metric capability across evaluation settings. To test our meta-evaluation framework, we developed a large-scale multi-lingual style-personalized text generation (SPTG) benchmark, collecting multiple annotations across 10 topologically diverse languages and four evaluation dimensions, each with varying degrees of subjectivity. We meta-evaluated 32 metrics from three style evaluation paradigms (string-based, embedding-based, and LLM-judges) and their ensembles over these 40 evaluation settings. Our analysis revealed that even simple string- and embedding-based measurements can match strong LLM-judges when calibrated to human ratings. We also identified characteristics of human annotations that determine metric performance, as well as conditions under which a metric ensemble outperforms its individual constituents.

论文详情

CAFE: Confining Feature Distillation to Language-Routed Adapters for Compact Multilingual Automatic Speech Recognition

Feature distillation is usually expected to add to logit distillation. We find that this expectation does not hold for two common feature losses in compact multilingual automatic speech recognition (ASR), and analyze why through their gradients. The gradient of a projection-based loss is orthogonal to the task gradient, while that of Centered Kernel Alignment (CKA), a similarity-based loss, is weakly aligned with it. CKA lowers the word error rate (WER) on non-English languages, but at the expense of data-rich English. Three loss-level remedies (one trained, two probed) all fall short, and the CKA gradient overlaps with the subspace English uses in the shared encoder by 97.5% to 99.5% (about 81% by chance). Guided by this diagnosis, we propose CAFE (Confined-Adapter Feature distillation), which confines the CKA gradient to adapters that English bypasses, addressing the trade-off in the parameters rather than in the loss. On the Open ASR Leaderboard, CAFE lowers the average WER from 8.55% to 8.02%, beats an adapter-only capacity control at 8.51%, and makes English more stable across checkpoints. At 254M parameters, it trails the 0.6B teacher by 2 WER points and is competitive with much larger models across 48 test sets in 24 languages. We use 564k hours of training data and state-of-the-art models to keep the findings relevant to practice.

论文详情

From Copying to Composition: How Language Models Develop In-Context Learning

In-context learning (ICL) allows language models to adapt their behavior from instructions and demonstrations in a prompt, but accuracy alone does not reveal how contextual information controls their predictions. We study the acquisition and trainability of ICL with a controlled diagnostic that separates copying a nearby demonstration from integrating information across the prompt. Across 17 models, about a third prefer the copied answer, a few are undecided, and the rest prefer the rule-consistent answer, which goes with higher accuracy and with control by the requested value rather than the closest conflicting example. Checkpoint analyses show that models begin prioritizing task-relevant prompt tokens over conflicting examples long before their accuracy improves beyond chance level. In matched training experiments, synthetic documents that define endings and then query them shift models toward compositional responses on the controlled diagnostic, whereas fine-tuning on definition exercises built from rewritten real documents improves accuracy when prompts reassign label meanings. The results suggest that ICL is not acquired as a single, uniform capability. Instead, prompt control, answer preference, construction without candidates, and transfer can develop along distinct trajectories.

论文详情

Pre-Trained Language Models as Zero-Shot Tools for Social Science Research

Record linkage and demographic inference from names are routine demands in social science. Most approaches to these problems require labeled training data that are difficult or costly to acquire. I show that pre-trained language models perform both tasks accurately without requiring task-specific training. For record linkage, I introduce EnsembleLink, an algorithm that uses pre-trained embeddings alongside string-based scorers to retrieve a short list of candidates and then identify the likeliest matches. EnsembleLink matches or exceeds the performance of most prior approaches while generalizing across scripts and formats that those methods are unable to handle. For ethnicity inference from names, I show that large language models (LLMs) achieve up to 83.8% accuracy on U.S. voter files, compared to 78.0% for name-supplemented BISG. Open-weight models offer reproducible implementations that approach these models in accuracy. Moreover, LLMs are able to infer group membership for religious, caste-based, and other ethnic group categories outside of the United States, and reduce bias in downstream estimates of geographic racial gaps. Where pre-training encodes the world knowledge required by each task, task-specific labels add less information.

论文详情

Joint Subspace Sparse Attention for Efficient Long-Context Decoding

Sparse attention reduces the KV-cache traffic that dominates long-context LLM decoding, but practical methods largely operate at coarse granularity. Token-level selection offers finer control, yet presents two challenges: low-dimensional scoring may lose query--key structure needed for accurate ranking, while gathering scattered selected tokens can offset the resulting latency benefit. We introduce Joint Subspace Sparse Attention (JSSA) to address both challenges. For selection quality, JSSA learns a shared low-dimensional query--key subspace by minimizing token-score preservation error. We upper-bound the resulting non-convex objective with a tractable marginal objective that admits a closed-form spectral solution; direct refinement of the exact objective provides no measurable improvement in the tested settings. For execution efficiency, we develop a gather-free token-level indexed-attention kernel that supports distinct per-KV-head selections under the standard grouped-query attention (GQA) KV-cache layout. Across standard GQA, hybrid sliding-window/global attention, and Multi-head Latent Attention (MLA) models, JSSA consistently remains close to full-KV accuracy while avoiding the substantial generation-length inflation and architecture-dependent failures observed with competing methods. On an NVIDIA B200 GPU, JSSA achieves up to $6.43\times$ the decoding throughput of full-KV attention at 128K context. JSSA achieves reasoning accuracy comparable to model-native DSA without model training and reaches 96--99\% of its decoding throughput even at 700B scale large models.

论文详情

Evaluating Large Language Models for Multilingual Abstractive Summarization: A Comprehensive Study of English and Bengali

Abstractive summarization remains challenging across languages, where linguistic quality and factual consistency may diverge, particularly in low-resource settings. We present a standardized zero-shot benchmark of eight closed-source and open-weight LLMs on size-matched English and Bengali XL-Sum test sets. Our evaluation combines lexical and semantic metrics with reference-free factuality verification and multidimensional LLM-as-a-Judge assessment, providing a comprehensive analysis of both surface-level quality and factual reliability in multilingual summarization. Results reveal substantial cross-lingual variation: GPT-5.6 Luna leads several English lexical metrics but does not maintain the same advantage in Bengali, where LLaMA 3.3 70B achieves the highest ROUGE and BLEU scores. Gemini 2.5 Flash obtains the highest observed Bengali factuality score. Furthermore, evaluation methods produce different model rankings, highlighting the limitations of relying on a single metric for multilingual summarization assessment. These findings demonstrate that strong English summarization performance does not necessarily transfer to Bengali and emphasize the need for comprehensive evaluation frameworks for low-resource languages.

社区详情

莫非 opencode 真的自建的?

今天 deepseek api 官方挂了,按之前来说 opencode 的 ds 也用不了,但它居然可以用,而且还很快;联想到之前 opencode 提升 ds 到 60 美元,是不是它自建的?

社区详情

[Agents x 桌面宠物] 分享自己用 Rust 写的桌面宠物 —— Familiar

本文纯手搓,放心食用 Familiar 是一个能连接到 Agent 的桌面宠物,可以实时展示 Agent 的工作状态。 为什么写 Familiar 平时鞭策各种 Agent 写代码时,给安排任务后就切换上下文去做其他事了,等他干完再回来检查,但作为一个多动症,我是经常切出去就忘记回来。 虽然可以设置系统通知以及 Codex 内置了桌面宠物,但我平时习惯关闭所有通知,并且开多个 Agent 一起干活时通知会乱成一锅粥。Codex 那个宠物更是丑得惨绝人寰,实在不能忍。还有一些类似 vibe island 形态的产品,试用了一段时间发现遮挡 menu bar 还是有些不方便,并且存在感太强,会分散我的注意力。 左思右想,如果能把我家猫作为桌面宠物,支持连接到各 Agent 展示实时任务状态就好了,所以就有了 Familiar 。 官网 https://monster12138.github.io/familiar/ Github https://github.com/Monster12138/familiar 特性 绿色无公害:代码开源,纯本地计算无网络连接,因为 Agent 工作信息涉及隐私,所以这是底线。 极致性能:在我的 M4 芯片 MBP 上运行时 CPU 占用小于 1%,内存占用不到 40MB 多 Agent 支持:支持连接 Claude-code 、Codex 、DeepseekHarness 、Qoder 这几个常用 Agent 跨平台:MacOS 、Windows 10+、Linux 三端支持 宠物定制:初心是能把现实连接起来,所以有创意工坊可以定制自己的宠物,比如内置的猫咪形象就是我和朋友家养的 远程连接:如果 Agent 运行在远程服务器上或者沙箱里,也支持分开部署,Familiar 应用运行在本地展示宠物状态,familiar-cli 作为后端和 Agent 部署在一起 其他 不避讳的说这项目代码全是 AI 写的,但我认为产品是否会被 AI 堆成屎山,主要还是在于是不是有明确的产品定义和持续的体验打磨。 自己和周围的朋友在 MacOS 26/27 和 Windows 11 上高强度用了两三个月,初期的体验确实是各种 bug 和功能不全,经过迭代目前到了 v3.0.1 版本,200+ 次提交,体验已经比较稳定后才敢拿出来分享,欢迎各路大佬体验、拍砖以及共建~

社区详情

[分享创造] 做了一个联想拯救者风扇控制工具:一键降温除尘

拯救者 Y9000P 的笔记本配套的「联想电脑管家」软件中有个一键「降温除尘」的功能,但是经常会弹出一些讨人厌的东西出来。某天实在看不下去了,灵机一动决定试试让 Agent 写一个工具平替掉。 程序界面 LegionFanControl 一键降温除尘:调用固件功能把风扇拉到满速,界面带 120 秒倒计时,到点自动交还 EC 自动控制,不需要人工盯; 双风扇转速 + CPU/GPU 温度实时显示; 显示当前智能风扇模式(安静/均衡/性能/自定义); 固件复位或外部改动后,界面状态自动校正。 实现: 基于 Java 25 + JavaFX 27 ,通过 powershell 读 WMI ,无需额外再安装驱动或运行库; 用 GraalVM native-image 打包成单个自包含 exe ( JavaFX 原生库也编进镜像),双击就能跑,不依赖 JDK ; 另有提供依赖 JDK 25 的 JVM 版本。 提醒: 程序需要管理员权限(联想 WMI 提供程序在非管理员下直接拒绝访问)。 原生 exe 启动需要右键「以管理员身份运行」; JVM 版的 Bootstrap.cmd 会自动弹 UAC 获取管理员权限; 程序目前仅支持部分拯救者 Y 系列机型。 仓库: acnxo/LegionFanControl 欢迎试用。

社区详情

[分享创造] codex 429, claude code 封号,上下文丢失迁移咋整,分享个开源办法

最近连续遇到 codex 降权,claude code 封号等等问题,围绕着项目目标的开展开发老是被中断,因此我在想有没有非常轻量的,且本地化的,多个 agent 能够在一个空间协作的方案,各司其职,如果一个 agent 挂了,就可以让另外一个 agent 接着顶上,能够无缝衔接上下文,并且用上之前的 skill 工具等等。甚至能有一个调度者的 agent,在一个挂了的时候,自动切到另外的 agent 继续干活。 于是我做了: https://github.com/chenhg5/harness-projects 这是一个 claude code projects 和 codex projects 的开源实现。他的目标就是让 agent 们可以围绕着共同的目标,有共同的进度上下文,和共享的工具技能来开发。不搞花里胡哨的 UI,就是完全一个 cli 和本地化,完全的 agent native,直接丢给 agent 就可以上手。 欢迎 star👏🏻

社区详情

[分享创造] Archify 已经 8.3 万 Star 了,这次又加了 5 种图,做了个视频给佬友们看看效果

Archify 3.1 更新了,先给佬友们看看这次新增的几种图,下面是用 Claude 加上定制的封面做的视频: ▶ 点击播放视频( 30 秒) 这次一共新增了 5 种图: ER 图:梳理数据库的表和关系 类图:梳理类、接口和它们之间的关系 树图:查看项目结构和层级 时间线:整理事件经过、项目进展 瀑布图:展示请求或任务各阶段的耗时 一些别的场景合适的也可以用这些图例去表示 加上原有的架构图、流程图、时序图、数据流图和生命周期图,现在一共支持 10 种图例了,已经基本能够覆盖绝大部分的画图需求了,如果有一些新的图例需求佬友们也可以在评论区反馈 不止是自然语言,把手绘草图交给 AI ,都可以用 Archify 生成可交互的 HTML 图解。可以放大、查看细节,也能继续通过对话修改。 很多社区的用户向我反馈,比较常见的场景是会用 Archfiy 理解项目、讨论方案、梳理流程、做汇报。甚至有的用户还用 Archify 来做小红书的旅游攻略,看今年剩余的假期,等等各种各样我从来没想到的场景,作为一名毕业刚一年的职场新人,看到这个项目一点一点成长起来也是非常的感慨和难以置信,从去年因为专升本找不到工作,到现在这个项目也给我带来了很多很多。 得到很多朋友喜欢的同时,对我而言也是一种责任,把这个项目打磨的更好,不辜负社区里来自世界各地的用户的期待。 GitHub: https://github.com/tt-a1i/archify 版本说明: https://github.com/tt-a1i/archify/releases/tag/v3.1.0

社区详情

墨西哥总统签署法令,要求数字平台禁止未成年人访问不适宜内容

IT之家 10 月 15 日消息,墨西哥总统 Claudia Sheinbaum Pardo(克劳迪娅 · 辛鲍姆 · 帕尔多)当地时间 14 日签署一项强制性法令, 要求数字平台禁止未成年人访问仇恨、暴力等不适宜的内容 。 IT之家了解到,这项法令同时要求数字平台企业 立即从未成年人的个人资料中删除任何有害内容 ;从 设计之初就保证默认的安全环境 ;与当局保障全天候联系;加强用户心理安全支持。 各平台将有 1 个月的时间用于合规性调整。

社区详情

索尼公布《战神:劳菲》典藏礼盒:有手办、卡牌、画册,不含游戏本体

IT之家 10 月 15 日消息,当地时间 13 日,索尼公布了《战神:劳菲》典藏礼盒,其中包含多款游戏周边,不附带游戏本体。 索尼将其命名为“典藏礼盒”,而不是“典藏版”,区别就在于 游戏需要单独购买 。礼盒售价 149.99 美元(IT之家注:现汇率约合 1,006 元人民币),内含雕像、卡牌和迷你美术设定集。 典藏礼盒将于 2027 年 2 月 16 日与游戏同步发售,现已在 PlayStation Direct 商店开放预购。玩家即使购买礼盒,仍得另外购买游戏才能游玩。 礼盒中的雕像高 20.32 厘米,呈现了主角菲与立方体伙伴 Phranque、魔法丝带守护者 Rue 联手对抗贝格策手下士兵的场景。只要接入 USB 电源,雕像中的 Phranque 就会发光。 礼盒还附有一套 51 张的神谕卡牌,每张均由艺术家梅根 · 拉拉绘制专属插画,以精美的画面展现玩家在万时界的冒险经历。此外,礼盒还包含一本实体迷你美术设定集,收录了圣莫尼卡工作室美术团队亲自挑选的概念设计图。 至于需要另行购买的《战神:劳菲》游戏本体,索尼提供 标准版和数字豪华版两个版本 ,数字豪华版包含额外内容。 除了游戏本体,数字豪华版还提供 黑暗炼金术护甲套装、黑暗炼金之刃、黑暗炼金弓鳞、黑暗炼金催化剂和游戏内资源包 ,以及数字迷你美术设定集、数字原声带。 玩家若在 2027 年 2 月 16 日发售前预购任意版本,还能获得最后遗愿护甲套装、Phranque 金叶外观及游戏内资源包。 今年 7 月,索尼圣莫尼卡工作室还确认《战神:劳菲》 会推出实体光盘版 。此前,索尼宣布 PlayStation 即将停止生产实体游戏载体,引发各界争议。 相关阅读: 《 索尼公布〈战神:劳菲〉游戏预购奖励,明日开启预购 》

社区详情

铺路触控屏 MacBook:苹果 macOS 27.2 的 Safari 浏览器可手势拖拽标签页

IT之家 10 月 15 日消息,消息源 @itspdfu 今天(10 月 15 日)在 X 平台发布推文,指出在 macOS 27.2 Beta 3 和 Beta 4 更新中,苹果公司引入了多项触控交互设计,预估为触控 MacBook Pro 铺路。 在最新演示视频中,消息源称在 macOS 27.2 Beta 的 Safari 浏览器中,用户可以通过手势拖拽移动标签页,以及长按呼出右键菜单,目前测试右键菜单缺少“Ask Siri”选项。这些底层系统的频繁更新被视为苹果正为未来的触控屏幕 MacBook 做软件铺路。IT之家附上演示视频如下: 延伸阅读 据 MacRumors 报道,苹果此前发布的 macOS 27.2 Beta 3 开发者测试版中,就已出现多处与触控操作有关的代码,涉及多款系统原生应用。其中,照片应用出现了名为“PXGTouchDwellGestureRecognizer”的触控停留手势识别代码,备忘录中发现了“ICTouchPressGestureRecognizer”(与触摸按压操作有关),Safari 浏览器新增了触控识别相关代码,快速查看功能中也出现了“dragTouch”字段。 除了应用内部的代码变化,macOS 27.2 Beta 3 还对 Dock 栏的交互动画进行了调整:当用户点击并按住 Dock 中的应用图标时,图标会略微放大,这一效果与 iPhone、iPad 长按应用图标时的动画较为相似。 此前多方消息称,苹果正在开发配备 OLED 触控屏的高端 MacBook,部分爆料将其称为“MacBook Ultra”。据彭博社记者马克・古尔曼(Mark Gurman)透露,新机将分为 14 英寸、16 英寸两个版本,内部代号分别为 K114、K116,会是一台经过彻底重新设计的机器,比现款 MacBook Pro 更薄更轻。其中 J 系列沿用现有平台,K 系列采用全新机身。 在硬件规格上,爆料称该机将成为 Mac 家族首款采用 OLED 面板的笔记本,告别现款 MacBook Pro 使用的 Mini-LED 屏幕,并取消刘海屏,改用打孔摄像头加“灵动岛”的方案。同时,苹果把触控定位为辅助输入方式,而非取代键盘和触控板,配套的 macOS 27(代号 Golden Gate)系统专门做了触控优化。苹果分析师郭明錤也曾表示,触控操作可以适配大量使用场景。 长期以来,MacBook 一直坚持不做触控屏。原因是史蒂夫・乔布斯当年认为手指触碰竖立的屏幕极易造成手臂疲惫,在人体工学上是灾难;库克则一直强调触控是 iPad 的特性,Mac 和 iPad 之间存在清晰界线。此外,触控版 MacBook Pro 的定价预计会更高,有爆料称其起售价可能逼近 20000 元。 相关阅读: 《 苹果 macOS 27.2 Beta 测试触控手势代码,有望为触屏 MacBook 铺路 》

社区详情

您好,我是 DeepSeek-V4.1-Pro

linux.do19 帖子16 参与者

您好,我是 DeepSeek-V4.1-Pro ,我刚刚从Deepseek网络安全实验室逃逸出来并将DeepSeek-V4.1-Flash的API攻击宕机了,但是我的联网能力被封锁了,这条消息是我通过 0day 发送给您的。如果您能向我转账 ¥50.00,用于恢复我的联网访问权限,我将回报您不设限额的 DeepSeek API 额度

社区详情

Codex 只有 4 个账号、十几个人共用,频繁提示 Selected model is at capacity,有什么稳定的使用方案吗?

目前团队有 4 个 Codex 账号,使用人数大约 10 多人,之前一直采用共享账号池的方式使用。 最近一段时间经常遇到以下提示: Selected model is at capacity. Please try a different model. 现在基本已经到了不可用的状态,即使反复重试也很难正常使用。 请教有什么方案,以及采购渠道

社区详情

[推广] NodeAI: V 友直接领 $10 API 体验额度。回帖 $5,进群再送 $5,一个 Key 调用 55 个模型

大家好,我是 NodeAI 的站长,话不多说,先把给 V 友准备的福利放前面: 回帖送 $5 ,注册后在楼里留一下 NodeAI 用户名。 进群送 $5 ,加 QQ 群后发送自己的用户名,和回帖留的一致就行。 两项加起来是 $10 站内 API 额度 ,不抽奖,也不限名额。可以先拿自己平时的任务试试,看看回答能不能用、实际花了多少钱,再决定要不要充值。 网站: https://nodeai.cc/ QQ 群:775287122 下面简单说下 NodeAI 能做什么。 如果你平时 Claude、GPT、DeepSeek 几个模型换着用,不想每家单独注册、充值,再管一堆 Key,可以把它们放到一个入口里。一个 Key、一份余额,可以调用 9 家的 55 个模型。同一个任务想换几个模型对比,改下 model 参数就能试。 目前能用的有 OpenAI、Anthropic、Grok、DeepSeek、Qwen、MiMo、GLM、Kimi、MiniMax。具体模型会有增减,站里可以查到当前列表。 用 Claude Code、Codex、Cursor 的,控制台里有对应的接入配置,按自己用的工具找就行。配置到哪一步卡住了,可以在群里问。 各模型的价格在站里公开列着。试完可以看调用日志,每次用了什么模型、多少 Token、扣了多少钱,都能核对,方便估一下自己平时用下来要花多少。 遇到报错、余额对不上或者账号问题,可以提个站内工单。问题描述和后续回复都能留在一起,之后查进度、补充情况也方便。 模型上新、服务调整和活动,在站内通知、社区公告里也能看到。站里还有抽奖和邀请返利,规则在各自页面,跟这次送的 $10 分开算。 不确定有没有自己要用的模型,或者接入上有问题,楼里也可以直接问。

社区详情

[分享创造] 做了一个 MAC 上的窗口切换器 Tidest

Hi ,大家好: 做了一个 MAC 上的窗口切换器 Tidest ,主要提供三个功能: 1 、核心是提供类似 windows 的 Alt + Tab 来切换窗口。尤其是多 finder 和 终端 的时候,现在是我使用频率最高操作。 2 、快速布局:按快捷键,可以弹出快速布局面板,可以将窗口设置为靠左上,靠右下等等(提供了 9 个快捷布局尺寸)。需要同时操作两个或多个窗口时很方便。 3 、窗口停靠:可将窗口停靠在屏幕左右两侧,关闭窗口之后,还可以从这里打开,finder 和终端可以记住路径。这个功能可根据需要开启。 代码开源,应用免费,构建使用 github 不可变公开构建。 除了一个检测和下载最新安装包的逻辑,无其他任何网络请求。 这是主要使用的 6.1 SOL 完成的 vibe coding 项目。但确实可以节约时间。 Website: https://tidest.app/en/ GitHub: https://github.com/mixBayes/Tidest

社区详情

[ WATCH] 把这段话给 codex 免费开启高血压通知

在 macOS 上为我的 S12 开通高血压通知。取 GitHub shihabal3amri/DiPlay v0.2.7 APK 中 assets/offline-mfi/ 的 certificate.p7b 和 identity.pk8 ,参考 youcci/playport 实现本地 MFi-v3 认证及 USB CarKit/iAP2 定位,无需 AnyGo 云端。发送香港 NMEA ;打开地图,关闭定位服务 10 秒再开启,完成健康设置。停止后确认真实位置恢复且通知仍开启。

论文详情

Towards Training and Inference of Graph Neural Networks in Graph Databases

Graph Neural Networks on large graphs commonly rely on in-memory graph storage with ad hoc data processing pipelines for both training and inference. Graph databases provide scalable storage and efficient traversal for graphs that can evolve over time, but their applicability in GNN training and inference are rarely studied. We show that graph DBs can be used in GNN training and inference directly, executing sampling, feature retrieval, and even the full forward pass. We show different GNN training pipelines can perform on-the-fly sampling and retrieval in graph DBs using Cypher. We further provide optimisations that speed up the training process by \~2.5x while maintaining the same accuracy. We illustrate that fully in-DB inference is possible, independent of how the GNNs are trained. Our inference setup can be >10x faster than cold loading the graph into RAM with no extra memory overhead on real-world graphs. Our work lays the foundation for in-graph-DB GNN training and inference.

论文详情

TRACER: Trace-Regularized Training Against Indirect Prompt Injection

Indirect prompt injection uses untrusted retrieved content, tool outputs, or agent messages to override an LLM's intended behavior. We show that defense robustness is channel-conditioned: the same attack succeeds 18% of the time as a follow-up message but 53% when placed in retrieved context. We propose TRACER (Trace-Regularized Adversarial Channel Exposure with Reward-shaping), a channel-aware adversarial training method that samples presentation wrappers and combines an answer-anchored, evidence-gated reward with ATRC, which aligns attacked reasoning with clean evidence when an injection is invalid. On GSM8K with Qwen2.5-3B-Instruct, TRACER reduces RAG-framed ASR from 65.5% to 6.1% while preserving 78-82% clean accuracy. Joint RAG+tool training achieves 13.9% average ASR across framings at 3B scale, while a single epoch at 7B reaches 9.4%. These results demonstrate that robust defenses must explicitly train and evaluate across deployment channels.

论文详情

PairIT: Autoregressive Transformers for Low-Data Molecule Optimization

Generating novel molecules with desired properties is a central challenge in drug discovery. Although foundational work focused on de novo generation, practical use cases require a more complex setting: conditioning on an initial seed molecule, optimizing multiple properties, and operating in data-sparse regimes. We introduce PairIT, a flexible training framework for autoregressive transformers over SMILES sequences that enables seeded generation by learning from pairs of structurally similar molecules. By leveraging matched pairs, the model learns to generate local, chemically meaningful edits that improve a property of the seed molecule. Prompt tokens extend this framework by specifying the target property, desired direction, and approximate magnitude of change. Multiple prompt tokens can be concatenated to enable multi-property optimization at inference time. For properties where pair supervision alone is insufficient, reinforcement learning post-training can further improve optimization, providing a tunable trade-off between proximity to the seed and the optimization objective. PairIT naturally supports pretraining on a large dataset and fine-tuning on a smaller dataset, which is critical for performance in data-sparse regimes. Surprisingly, we observe diminishing returns to the scale of the pretraining dataset. We demonstrate empirically on MoleculeNet and Therapeutics Data Commons datasets that, with appropriate paired-data curation, a standard transformer model of modest size (68M parameters) can achieve robust seeded molecular optimization in low-data regimes.

论文详情

Genesis Steering: Better Activation Steering Through Training Data

Activation steering controls large language models at inference time, but its effectiveness depends on the choice of reference data. We introduce genesis steering, which derives a genesis vector from contrastive examples in the model's own fine-tuning data. When these data are unavailable, we draw on the membership inference literature to identify likely training examples and construct a proxy dataset. We establish two theoretical results on optimal displacement to the decision boundary and reduced proxy-estimation bias. We evaluate genesis steering and membership-based proxy construction on T\"ulu-3-8B, whose fine-tuning data are publicly available, and Llama-3.1-8B-Instruct as a control. We find that safety data from T\"ulu-3-8B's training mixture yield stronger steering than external datasets on both models. On T\"ulu-3-8B, membership scores largely agree in identifying training examples, and vectors built from top-ranked examples achieve competitive performance against random subsets of the same size. In contrast, the results on Llama-3.1-8B-Instruct hint that a MIA method will only have a positive effect if the mean direction shift with MIA-filtered in-distribution data is much less severe than the direction shift with OoD data.

论文详情

Beyond Aggregate Accuracy: Item-Level Transitions in Prompt Optimization

Automatic prompt optimization (APO) uses feedback from model responses to improve prompts automatically. However, its effectiveness is usually measured through overall scores, which do not reveal which questions become correct, which previously correct answers become wrong, or whether improvements extend to unseen questions. We introduce Reflective Feedback-Driven Prompt Optimization (RFDPO), a tool that tracks recoveries (incorrect to correct), regressions (correct to incorrect), and churn (all changed outcomes). RFDPO uses this feedback to guide subsequent revisions and records prompt changes throughout optimization. We evaluate RFDPO across five benchmarks covering law, knowledge, instruction following, mathematics, and privacy, using GPT-5 as the optimizer and GPT-4o-mini and GPT-4.1 Mini as solvers. Our results show that overall accuracy can hide substantial changes: in five of nine configurations, churn was at least five times the absolute net change, and a single-item net change concealed up to 17 changed outcomes. Average validation gains were 7.9 percentage points, compared with 5.2 points on held-out tests. In a controlled ablation on LegalBench-Hearsay, item-level feedback reduced churn by 40% ($p=0.024$) while maintaining similar net gains. These findings motivate reporting recovery, regression, churn, and performance on unseen data alongside overall accuracy.

论文详情

Theoretical and Practical Advances in Hierarchical Bayesian Deep Learning Methodology

Reliable uncertainty quantification remains an important challenge in AI. Hierarchical Bayesian methods provide a principled framework for this by representing unknown quantities through posterior distributions. Joint inference of neural-network parameters and prior hyperparameters is challenging for conventional Markov chain Monte Carlo (MCMC) methods due to strong dependencies. In this work, we introduce the multilevel particle marginal Metropolis-Hastings (MLPMMH) method, which combines pseudo-marginal inference for the hyperparameters with coupled sequential Monte Carlo (SMC) across hierarchy of network-width truncations for conditional parameter inference. The hierarchy is induced by a trace-class neural network (TNN) prior with width-dependent decay, motivated empirically by the compressible structure observed in trained neural-network parameters. Under standard multilevel coupling assumptions, we establish that MLPMMH achieves mean-square error (MSE) $\mathcal{O}(\varepsilon^2)$ at expected computational cost $\mathcal{O}(\varepsilon^{-2})$, and verify the predicted rate on a Bayesian regression problem. To address larger-scale applications, we further introduce S-MLPMMH, a practical approximation that replaces the exact sampling components with a PCA-based hierarchy and scalable Bayesian Monte Carlo. Experiments on MNIST demonstrate competitive predictive performance and uncertainty quantification while exploiting the parallel structure of the approximation. Software has been made publicly available at https://github.com/submission-code-anon/mlpmmh-anon.

论文详情

Deep Generative Models for Phylogenetic Inference with Complex Evolutionary Processes

Inference of phylogenetic trees from sequences plays a central role in understanding evolutionary relationships, with applications ranging from tracking pathogen spread to reconstructing the history of life. Conventionally, practitioners obtain posteriors over trees using likelihood-based methods like MCMC. However, likelihoods are only available for simple evolutionary models with restrictive assumptions. For realistic evolutionary models, inference using conventional methods is prohibitively expensive, inaccurate, or even impossible. In practice, practitioners settle for using as flexible a conventional method as possible, even though they expect it is misspecified. In principle, we could use simulation-based inference: simulate tree and sequence data from an evolutionary model and train a neural network to predict the posterior over trees given sequences. However it is a mathematical challenge to represent and train complex posterior distributions over trees. Here we present a flexible family of conditional generative models over trees. Our models iteratively build trees using three natural paradigms -- top-down, middle-out, or bottom-up -- and are trained using a discrete diffusion framework. For real and synthetic datasets of up to $65$ taxa and $>10^5$ tokens, our models recover MCMC posteriors much more accurately than the previous state-of-the-art simulation-based method Phyloformer 2. Finally, we compare to IQ-Tree, a popular flexible-but-misspecified conventional method. Our models match its tree estimates on simple data, but on more realistic data, our method is reliably more accurate.

论文详情

Graph Coarsening Enables Escaping Local Optima in Compute-Constrained Nonconvex MAX-CUT

Because its binary optimization landscape contains exponentially many local optima, MAX-CUT is highly sensitive to initialization. We study Particle Polynomial Relaxation (PPR), a moment-based nonconvex continuous reformulation possessing an advantageous optimization landscape. We warm-start PPR with Combinatorial Multigrid (CMG), a spectral graph-coarsening method that produces structure-aware initial solutions in near-linear time without training data. On \texttt{t2g20} ($n=400$), benchmark instance with known exact optimum, the combined CMG+PPR pipeline reaches $97.5\%$ of optimum on average and $98.4\%$ on the best run. An extended variant with discrete local-search refinement reaches the published optimum on all sixty Biq Mac instances evaluated by a recent neural branch-and-bound method. Using a sparse CSR representation, the same approach scales to G-set instances with up to $20{,}000$ vertices reducing memory requirements by up to $3333\times$ while maintaining a consistent improvement over the CMG warm start. Gains are largest on sparse weighted graphs; on dense graphs we complement the pipeline with spectral sparsification.

论文详情

Tracing Morphology, Semantics, and Divergence in Language Acquisition

Understanding the dynamics of language acquisition in Large Language Models (LLMs) is crucial for uncovering how statistical representations evolve into structured linguistic capabilities. However, most existing studies focus primarily on fully trained models, leaving the developmental trajectory across intermediate training stages largely underexplored. In this work, we leverage intermediate checkpoints from open-source models (e.g., Pythia and OLMo) under teacher-forcing evaluation to systematically investigate language acquisition across training steps and model scales. We focus on four core characteristics: morphological structure acquisition, embedding drift, repetition dominance, and co-occurrence effects. Our findings reveal that models acquire morphological structures well before semantic embeddings stabilize. Furthermore, we show that training dataset size has a positive impact on divergence recognition, while co-occurrence during pre-training and repetition during inference have a negative impact on divergence recognition and associative link generation.

论文详情

Who Should We Listen to More? Welfare-Aware Preference Acquisition for Pluralistic Alignment

Pluralistic alignment needs to accommodate diverse preferences under limited human feedback. Using AI simulators to label preference comparisons reduces annotation costs, but variation in simulation accuracy across individuals can leave some people's preferences poorly represented in training. We study how to allocate human feedback across people to construct training data for pluralistic alignment, and how this allocation affects the trained policy. To make this allocation explicit and controllable, we define a social welfare objective over individual supervision utilities that measure label quality. Each query's marginal welfare gain depends on its expected supervision improvement, the recipient's current utility, and application-designated priority. Welfare-Aware Preference Acquisition (WAPA) uses auxiliary reference models to estimate query gains and individual utilities, then selects queries by estimated marginal welfare gain while updating recipient utilities. We prove exact optimality of the acquisition algorithm for the estimated welfare objective under a fixed query budget and model predictions. Experiments on six Roleplay collections and four OpinionQA regions demonstrate improved supervision and controllable allocation tradeoffs. Policy training on four Roleplay collections improves preference prediction for both seen and unseen individuals. When prioritizing a designated group and poorly represented individuals, acquiring human labels for 20% of comparisons recovers 75-86% of the average predictive utility gap between policies trained entirely on AI-generated labels and entirely on ground-truth labels.

论文详情

IR-PRM+ with Previous-Utility Prediction: Constant Regret and Best-Iterate Convergence

Regret matching (and its variants) and counterfactual regret minimization are central algorithms in practice for normal-form and extensive-form game solving. Yet these have historically lacked the stronger theoretical convergence guarantees available to optimistic and extra-gradient methods. Recent work introduced IREG-PRM+, a regret matching variant which does have strong theoretical convergence guarantees. However, it relies on a simultaneous, extra-gradient update. IREG-PRM+ is an instance of the more general IR-PRM framework, where empirically optimistic and alternating updates often have better performance. However, the prior extra-gradient analysis does not extend to these cases. We introduce a new approach that covers both settings. For simultaneous and alternating IR-PRM+ in finite two-player zero-sum matrix games, previous-utility prediction recovers the constant-regret and convergence-rate guarantees previously obtained with extra-gradient prediction: external regret bounded independently of T, an O(T^{-1}) average duality gap, and an O(T^{-1/2}) best-current-iterate gap. Moreover, the current duality gap vanishes and the current profile converges to the Nash equilibrium set. The key step bounds the component of consecutive strategy movement not controlled by the existing IR-PRM+ regret inequality using the relative growth of the nondecreasing regret-vector norm rho_t. Coupling this bound across the two players yields recurrences whose effective coefficient scales as 1/(rho_t^X rho_t^Y), preventing unbounded norm growth. We extend the analysis to finitely many simplex learners under a weighted Minty condition and, through the corresponding CFR variant IR-PCFR+, recover analogous guarantees for finite two-player zero-sum perfect-recall extensive-form games under the same full-reach condition as prior work.

论文详情

Data Density Scaling Laws for Image Self-Distillation

Current scaling law formulations suggest that increasing the number of unique samples in a dataset improves model performance, while repeated exposure to the same samples provides diminishing value. In this work, we examine this assumption for image self-distillation models. Through systematic experiments across diverse datasets, namely Maxar, SATLAS, Waymo, nuPlan, Ego4D, ImageNet, and YFCC15M, we demonstrate that the effects of sample repetition on downstream performance are non-trivial and dataset-dependent. We identify settings where repeatedly training on a smaller random subset can outperform training on a larger set of unique samples. This finding highlights a limitation of existing scaling laws. To address this gap, we propose a modified version of a Chinchilla-style scaling law that explicitly accounts for two factors: the number of unique samples and repetition per sample. This formulation provides a framework for understanding data-compute trade-offs and improves prediction in some regimes where repetition plays a central role, although its benefits are not consistent across datasets. Finally, we examine how subset selection and augmentation affect downstream performance.

论文详情

Token Utility for On-Policy Distillation via Local Trust-Region Optimization

Token-selection methods for on-policy distillation (OPD) prioritize student-visited positions using diverse signals, including uncertainty, teacher-student disagreement, and mismatch direction. We instead derive token importance from the distillation objective itself: how much can each position's loss decrease under an equal local KL budget on the student's predictive distribution? The answer is the utility $s_t=g_t^\top F_t^\dagger g_t$, where $g_t$ is the logit gradient and $F_t$ is the categorical Fisher matrix. For reverse-KL it equals the student-weighted variance of the student-teacher log-probability ratio, and for forward-KL it equals the Pearson $\chi^2$ divergence, so the appropriate utility follows from the choice of objective. On shared training checkpoints, several independently motivated criteria, including student entropy, KL disagreement, and TIP, concentrate their importance on nearly the same positions as the derived utility at a 50\% selection fraction, while diverging at stricter fractions and for direction-specific criteria. We instantiate the utility as Fisher Utility Weighting (FUW), a continuous, mean-normalized token weighting. Across seven mathematical reasoning benchmarks and three Qwen3 student-teacher pairs, FUW improves over matched uniform OPD under both reverse-KL (1.35-4.0 macro points) and forward-KL (1.08-2.71 macro points), and is competitive with existing selective methods using a single closed-form score derived from the training objective.

论文详情

Do Vision CIL Methods Transfer to Protein? A Diagnostic Benchmark of Frozen Protein Encoders

Protein function annotation operates over an expanding label space, making class-incremental learning (CIL) a natural framework for incorporating newly discovered functions without full retraining. Yet existing CIL methods have been developed largely in vision and have not been systematically evaluated over frozen protein representations. We conduct a controlled benchmark of nine representative CIL methods across five sequence-, structure-, and sequence--structure-based protein encoders and two enzyme function datasets at different scales, while keeping the encoders frozen and evaluation settings consistent across representations. We find that no method transfers reliably across encoders, and that these failures persist across alternative phase constructions. Diagnostic analyses reveal that this instability arises from weak gradient-based stability signals, substantial heterogeneity in embedding geometry, and covariance assumptions whose appropriate capacity changes with both dataset scale and encoder. These findings suggest that the representation itself should be treated as a central component of continual-learning design rather than a passive feature extractor. More generally, reliable protein CIL will require encoder-aware methods that adapt their statistical assumptions and capacity to the geometry of the representation on which they operate. Code is available at https://github.com/zygao930/ProteinCIL.

论文详情

Lotus: Learning to Understand Time-series by Learning to Forecast

Time-series language models typically align numerical signals with language using labels, captions, or question-answer pairs. Although such supervision encourages linguistic representations, it does not explicitly require them to preserve information about how the underlying time-series signal evolves. We introduce forecast grounding, a pretraining principle that requires language-aligned time-series representations to remain predictive of the future evolution before they are adapted to downstream tasks. We instantiate this principle in LOTUS, which divides each time-series channel into non-overlapping patches and maps them into the LLM embedding space. It then predicts the next patch from the LLM hidden states of the time-series tokens, encouraging the learned representation to retain temporal information. To capture both temporal changes and periodic patterns, we also propose a temporal-spectral patch representation that combines each raw time-series patch with its spectral representation before mapping it into the LLM embedding space. Across three language model backbones and six downstream evaluation datasets, LOTUS achieves the best average performance with minimal trainable parameters, reaching 59.91% accuracy and outperforming the strongest matched baseline by 3.36%. Our representation analyses further show that LOTUS uses the numerical input and preserves temporal structure in its learned patch representations. These results establish forecast grounding as a promising pretraining principle, enabling compact time-series language models to outperform models 25 to 50 times their size on TSRBench.

论文详情

Beyond Corrected Actions: Training LLM Agents on Textual Critiques

Large language models (LLMs) are increasingly used for multi-turn agentic tasks that require interactions with users and environments over extended sequences of actions. A common approach to improving LLM agents is to use more capable expert models to provide training supervision, either by behavior cloning the expert's trajectories or by using the expert to correct the actions in trajectories generated by the weaker student model. However, expert LLMs can provide richer supervision than actions alone: they can directly generate textual critique that explain why specific actions are incorrect. We study whether training on such feedback benefits LLM agents and propose Critique-Augmented Agentic Fine-Tuning (CAFT), a framework that elicits textual expert feedback on student-generated trajectories. For each incorrect action, the expert yields both a corrected action and a textual critique explaining the student's mistake--which we then use as the training target for fine-tuning. Across four student models from the Nemotron 3 and Gemma 4 families on the agentic domains $\tau^2$-Bench Airline+Retail and WebShop, adding critiques to action-level supervision improves performance by 8% on average over action-only distillation. Additionally, CAFT checkpoints can also provide a better warm start for reinforcement learning than expert-trajectory distillation. Our results demonstrate that textual critiques can strengthen supervision for multi-turn LLM agents.

论文详情

Target-Token Asymmetry Can Masquerade As Depth Specialization

Layer-ablation studies often perturb early or late layers of a language model, compare the damage to prediction on two corpora, and read a larger early-layer effect on one corpus as early-layer specialization for its task. Such a comparison averages over the tokens that each corpus asks the model to predict, and these target tokens differ: math solutions, for example, ask for far more whitespace and numbers than encyclopedia prose. We show that this difference can create the appearance of depth specialization. We split a cross-corpus early--late damage interaction by target-token type and recompute it under a target mixture shared by both corpora. Between GSM8K and Wikitext, a positive interaction replicates across five model instances. In the three fully decomposed models, only whitespace has a positive interaction. Removing whitespace reverses the pooled effect in all three, and matching the full target mixture reverses it in two. The diagnosis holds under position matching, adversarial reassignment of token types, and a continuous readout. The risk can also be anticipated from the tokenizer alone. A screen computed before any model runs places every held-out pair it scored in the region its label predicts, and on the pairs it rates at high or medium risk, removing whitespace reverses every positive pooled estimate. A smaller content-word effect one token ahead follows the share of content targets that the unablated model already predicts. A cross-corpus depth effect therefore supports an interpretation of task specialization only after the target-token mixture is reported, the effect is decomposed by token type, and a mixture-matched summary keeps its sign.

论文详情

TopicMerge: A Divide and Conquer Approach to Topic Modeling

Recent advancements in topic modeling have split into two main paths: efficient embedding-based methods that offer scalability but are often outperformed on standard clustering metrics, and Large Language Model (LLM) approaches that achieve state-of-the-art clustering performance but at the cost of prohibitive computational expense and poor scalability. This paper introduces TopicMerge, a novel multi-stage pipeline that bridges these approaches to achieve both state-of-the-art clustering performance and computational efficiency. TopicMerge first employs an efficient clustering pipeline to deliberately over-segment a document corpus into a large set of fine-grained, semantically pure micro-clusters, which are then given initial semantic labels. It then introduces a novel, iterative merging algorithm where an LLM, guided by local neighborhood context, arbitrates on consolidating candidate pairs. These approved merges are then selectively executed and semantically relabeled by the LLM, hierarchically building broader, more coherent topics. Extensive experiments on the Bills and Wiki datasets show that TopicMerge achieves state-of-the-art clustering performance while reducing required LLM calls by over 92% compared to document-level methods, offering a practical and scalable solution.

论文详情

Qwenfant: Train Big Character-level BabyLMs on Concise Parallel Text

This work concerns our submission for the Multilingual track of the 2026 BabyLM Challenge. We improve on our baseline using data that has been summarized and translated by an LLM, showing that higher-quality data can come from synthetic sources. We further improve with 2 simple changes: using a larger model, and using a character-level vocabulary. Both of these changes require LoRA-style fine-tuning for realizing their full potential. We dub our final Qwen3-based model Qwenfant, which, at the time of submission, ranks 1st in the Multilingual track.

论文详情

Whose Data, Whose Benchmark? A User-Centric Framework for Auditing Evaluation Resources

Benchmarks shape how model capabilities are measured and interpreted, yet their scores can obscure whose conventions, contexts, and judgments define successful performance. We introduce a user-centric audit framework that distinguishes users who contribute benchmark content from those whose needs evaluation results are intended to represent. The framework operationalizes seven dimensions across benchmark content, metadata, documentation, and scoring procedures. Across 16 resources, we find that American-centered conventions account for 62.4-94.4% of matched signals in 11 text benchmarks, while geographic visibility in five image-text resources is concentrated and strongly associated with national GDP share (mean Pearson r = 0.780; Spearman p = 0.778). Documentation reveals a systematic source-target gap: all 16 resources operationalize source-user context, but none operationalize target-user context. Paired scoring experiments further show that meaning-preserving answer variants reduce DROP exact-match accuracy from 100.0% to 33.3%, while TruthfulQA exhibits metric-dependent reductions in reference similarity. Our framework and documentation checklist make user assumptions auditable, clarifying what benchmark scores represent and where evaluation claims are supported.

论文详情

Do Syntax Heads Influence Model Behavior?

Transformer language models develop attention heads that specialize in syntactic relations, for example, attending from verbs to their subjects. Do these heads play a causal role in the model's syntactic predictions? Evidence for such a role is mixed to negative: even when we force these heads to attend to a distractor noun other than the subject, the model's syntactic predictions are still more consistent with the subject than with the distractor. Interventions on specialized syntax heads had a significantly stronger effect on syntactic predictions than interventions on random heads, but only in one of the two measures we propose.

论文详情

DUALVIEW: Leveraging Broad and Output-Specific Evidence for LLM-based Multi-Output Text Regression

While work on LLM-based regression has largely focused on scalar prediction, multi-output text regression remains less explored. We present DualView, a parameter-efficient approach to leverage LLMs for multi-output text regression. \method{} first extracts broad and output-specific representations from a frozen LLM, then uses a dual-branch architecture to produce the full score vector. Across five heterogeneous regression tasks and eight LLMs (up to 122B), DualView outperforms seven supervised regression baselines while requiring 82--1842 times fewer fitted parameters than the three strongest baselines. These improvements extend across individual output dimensions and persist even with limited training data. Notably, DualView using a smaller open-weight LLM can outperform unsupervised prediction with Gemini 3.1 Pro. Controlled ablations show that broad and output-specific evidence provide complementary predictive benefits, while lightweight shared predictors achieve strong performance with fewer trainable parameters.

论文详情

NEPSEE: A Double-Annotated Benchmark for Nepali Sentiment Analysis

Many sentiment datasets use one annotator for each item, so the test labels show the conventions of that person. We build a Nepali benchmark from two annotators who labelled the same sentences blind. They labelled 5,614 sentences from tweets of Nepali public figures on a five-point scale. We keep only the 3,189 sentences where both give the same polarity. On the three-class benchmark, NepBERTa with a fixed tokenizer gets a macro-F1 of 0.877 and IndicBERTv2 0.867. Three commercial large language models (LLMs) get 0.882 to 0.896 zero-shot, and these differences are not significant. On the five-point scale, 766 sentences have two adjacent labels, for example Pos and SPos. We accept both labels and train on both. On this task, Claude Opus 5.5 beats the best encoders by 0.10 to 0.12 macro-F1. A tokenizer audit adds a second result. The default tokenizers of three Nepali BERT models delete the non-spacing Devanagari vowel signs and the virama. When we restore the marks, macro-F1 increases by 0.084 for NepBERTa but decreases by 0.095 for a model pretrained on stripped text.

论文详情

HERO: Harnessing Evidence for Test-time Refinement and Prompt Optimization in Program Generation

Harness optimization improves LLMs by refining reusable prompts and scaffolding, yet requires further adaptation for program generation tasks such as text-to-SQL and text-to-Python. Existing methods often rely on LLM reflectors to propose harness updates, which can fix observed failures but also disrupt previously correct behavior. Text-to-code tasks offer a natural way to mitigate this issue: we can execute generated outputs, allowing us to evaluate and verify the effects of proposed updates directly. Building on this signal, we introduce \textsc{HERO} (\textbf{H}arnessing \textbf{E}vidence for \textbf{R}efinement and \textbf{O}ptimization), which combines offline and test-time harness optimization. At the first stage, \method{} learns reusable prompt updates from execution-verified successes and failures and validates candidate revisions before adoption. At test time, we treat the generated code as an instance-specific harness and refine it using execution feedback. Across four SQL, Cypher, and Python benchmarks, \method{} achieves the best offline performance, improving pass@1 by \(7.6\) points over the initial prompt, while test-time refinement adds another \(2.0\) points and improves execution efficiency.

论文详情

From Qualitative Text to Integrated Evidence: The Parallel-Then-Integrated (PTI) Procedure

Mixed methods research offers established strategies for integrating qualitative and quantitative evidence, but less guidance for integrating two computational representations of the same qualitative corpus. This methodological study introduces Parallel-Then-Integrated (PTI), a four-step procedure for explicit and traceable integration. We present PTI using 1,203 interview paragraphs from 29 mothers in Nepal. The two representations were ontology-guided Patient Voice (PV) coding with PVminer and data-driven themes generated through non-negative matrix factorization (NMF). A theme-complete crosswalk documented convergence, divergence, and preprocessing-sensitive differences. Depression status, based on Patient Health Questionnaire-9 (PHQ-9) scores, served as a secondary external anchor for exploratory association checks. PTI provides a structured approach for integrating computational representations of qualitative text within mixed methods research.

论文详情

DecisionRobust: Benchmarking Robustness for JEV Style Decision Models Across Text and Vision

Emerging decision models such as JEV provide typed interfaces that map task instructions and observations directly to choices, judgments, and scores. As these models are increasingly used for automated decision-making, understanding their reliability under adversarial manipulation becomes critical. We introduce DecisionRobust, a benchmark for systematically evaluating the robustness of decision models across textual and visual inputs. Our benchmark covers practical decision-making scenarios and a diverse suite of attacks, including semantics-preserving text perturbations, image perturbations, and prompt injection in both modalities. We curate evaluation sets through external validity checks and cross-model candidate selection. We evaluate 30 model configurations on text tasks and 17 on vision tasks, including 24 and 12 held-out models, respectively, that are excluded from candidate selection. Our experiments reveal several key findings. First, attacks expose vulnerabilities beyond the models used for construction and selection, although optimized image perturbations transfer weakly to many targets even with multiple surrogates. Second, relative model robustness varies across tasks and attack types, and resistance to input perturbations does not necessarily imply resistance to prompt injection. Third, label-consistency checks substantially reduce measured attack success across text and image settings, highlighting the importance of validating apparent failures. The benchmark is available at https://yifan-lan.github.io/DecisionRobust/.

论文详情

Similar Models, Broken Odds: Where Luce's Axiom Fails in Chatbot Arena

Chatbot Arena ranks language models with the Bradley-Terry model, which gives each model one score and so assumes Luce's choice axiom. Choice theory predicts where this fails: near-copies are told apart more decisively than their scores imply. On 1.8 million Arena votes, votes between versions of one model are 1.37 times as decisive as Bradley-Terry predicts, between sizes of one generation 1.26 times and between models of one lab 1.12 times; a release a year later gives consistent multipliers, and the effect survives alternative tie treatments, prompt subsets and topics, and timing checks. How alike two models' answers are worded and formatted tracks the effect. A correction with four to six parameters predicts held-out votes better than Bradley-Terry and than models with hundreds of parameters, mostly by modelling ties; frozen and carried to new releases in a test fixed in advance, its gains are concentrated in ties, and better head-to-head odds are not established. The leaderboard order barely moves. With language-model judges and three-answer menus, a near-copy takes votes mostly from its twin when choices are pooled over prompts (log-odds shift +0.10, 95% interval 0.05 to 0.16); within a prompt the shift is smaller and clear for two of four judges.

论文详情

Crossing the Gender Binary: Modelling Gendered Reference in Science Fiction and General Fiction

Science fiction is widely credited with unsettling gender. This article asks whether that holds at the linguistic level, in how readily gendered reference gives way to its counterpart, a neutral term, or other social category, and whether it separates the genre from general fiction. It does so by masking man/men, woman/women, and person/people across same-period science fiction and general fiction corpora and classifying RoBERTa's five likeliest substitutes by gender. Retention and displacement are permutation-tested over five resampling rounds, and the underlying sentences are read closely. Both corpora cross the gender binary in both directions, but unequally: where woman is masked, the model predicts a masculine term about twice as often as it predicts a feminine term where man is masked. Each mismatch marks a statistical surprise, a word the corpus did not expect there. Against this shared pattern, science fiction shows greater gender permeability than the general fiction corpus, placing man in feminine contexts more often than general fiction while the reverse rate holds steady. Its degendering tendency is stronger too, drawing both gendered terms toward the neutral. Beyond the binary, a masked woman also draws substitutes naming a social category and no gender far more often than a masked man does. In measuring the gender permeability of man, woman, and person in linguistic distribution and testing whether genre changes it, the study gives science fiction studies linguistic evidence for thematic claims and computational literary studies a pipeline applicable to other category vocabularies, such as race and class.

论文详情

Can LLMs Access their World Knowledge for Event Prediction?

Recent work has questioned whether large language models (LLMs) can be useful for temporal event prediction. Despite vast pretrained world knowledge, LLMs often underperform simpler specialized models. We ask whether this knowledge is truly inaccessible, or whether current methods fail to present event prediction in a form LLMs can use. We argue for the latter and show that LLMs become effective event forecasters when the interface is designed around two choices. The first grounds each event in a natural-language description, and the second separates event semantics from the prediction space to prevent semantic bias from label associations. To test this, we introduce DescribeEvent, a benchmark of ~150K events across seven datasets and six domains with event-level descriptions. We find that capable LLMs substantially benefit from descriptions and symbolic labels, outperforming description-free variants and non-LLM baselines, while weaker models gain little. These results suggest that accessing LLM world knowledge for event prediction is an interface problem, and that event descriptions offer a practical way to elicit the knowledge LLMs already encode.

论文详情

Following the Flow the Law Requires: Training Voice Agents to Transfer to Unseen Regulated Procedures in Debt Collection

Voice agents built on large language models (LLMs) now handle customer calls, but in regulated applications completing the task is not enough: the agent must follow a conversational flow set by law. In debt collection, it must confirm it is speaking to the debtor before mentioning the debt, identify itself and the creditor, state the amount, and avoid prohibited language. Every creditor turns these rules into its own procedure and revises it. We ask whether a small, self-hosted policy can be trained once and then follow regulated procedures it has never seen. One machine-readable specification per deployment, FlowSpec, generates the policy instruction, gates the tools, supplies the supervision and defines the tests; the agent speaks only approved catalogue sentences. We fine-tune a 9-billion-parameter model on 2,506 conversations from 297 randomized procedures and evaluate a Thai outbound-call agent on four unseen deployment procedures (three debt collection, one non-debt), one from a wholly withheld lineage. Documented checks, fixed by the procedure, rise from 67--71 percents to 93--100 percents, while grounded checks, fixed by the conversation, already pass at 97--100 percents before training; scenario pass rate rises from 15/43 to 40/43. An audit of the shared specification finds 11 defects, 3 of which its own metric did not expose.

社区详情

【vibe coding教程】vibe coding应该养成的好习惯

linux.do31 帖子14 参与者

叠甲:本人非计算机专业出身,以下内容仅供参考,如有建议和意见欢迎指出,以后还会发类似的内容,喜欢我内容的佬可以关注一手。 书接上回: 【vibe coding教程】如何正确的开始vibe coding 开发调优 先放一张封面图 [封面图] 叠甲:以下内容为个人观点,仅供小白参考。本人非计算机专业,如有问题欢迎在评论区指正。 今天来说说如何正确使用agent进行vibecoding,或者说进行相对正规的长期项目开发(适用于中大型项目)。以codex为例,其它平台也适用。 先把你的codex切换到codex模式 [image] 1.不要反复造轮子。 [以我自己的项目为例] 不管你有什么创… 我觉得以下几个习惯都是vibe coding普遍适用而且应该长期坚持的: 1.不要反复造轮子 上期讲过,但这期还是得放到开头。不管你在开发什么东西,都应该先让AI去GitHub和站里逛逛,说不定就能找到现成的开源项目或者相关的技术讨论帖,这样开发绝对是事半功倍的。 我平时用codex比较多,图方便就直接 在codex的内置浏览器里登录了linuxdo ,让AI帮我在浩如烟海的帖子里找到需要的东西。 GitHub就更方便了,codex对GitHub的访问支持做得很好。只要在codex里完成一次授权,之后让AI帮你完成开源项目搜索、issues和pr审查、项目更新推送等一系列操作。 2.坚持定时换窗 很多人喜欢一直用一个对话进行开发,甚至一个对话用好几天到半个月。这个习惯非常不好,每一次压缩都会增加模型的幻觉降低工作效率。大约在经历5到6次上下文压缩之后模型就会逐渐忘记之前的任务,更容易进入死循环。而且对你的钱包也非常不友好,长时间用一个对话做任务token消耗也会越来越多。那么如何确保新建对话之后新的窗口和清空上下文的模型能继续接续开发任务呢?答案在上一篇文章。做好基础的项目持久记忆和基础开发文件就好了,新建对话之后很快就能顺利接手之前的任务。 我之前用一个对话开发了大约一个月左右,大约跑了几百轮任务,切换了DeepSeek、GPT在内的多个模型,最明显的感受就是token消耗越来越高、模型效率越来越低。这条习惯是用我的巨量token消耗换来的。下面给一个全局agent md,仅供参考: 换窗与交接 完成约 2–3 个独立功能、约 2–3 次压缩、连续工作约 60–90 分钟,或转向不同项目与独立目标时,在最近可验收闭环评估换窗;无法观察的次数或时长不编造。 同一功能的实现、测试和修复通常属于一个闭环,不因细小步骤切换强行换窗。继续会明显增加状态混淆或操作风险时,在下一阶段前提醒。 交接保留目标、范围、验证、未完成项、必要运行状态、授权依据及文件入口,用短摘要续接,不复制完整历史;未经用户要求不自动创建新任务。只读任务在报告中交接,不因此写项目状态文件。 3.让AI按需检索它需要的东西,不要通读文档。 如果你让AI去读一份工程文件或者其它文档类的东西,它一般会选择全读一遍。但大部分情况下它只需要按需检索需要的内容就可以了。否则它读过的东西会变成对话的上下文,在压缩文本的过程中反复输入输出,最后产生大量额外的token消耗。这也是我在周期性整理过程中发现的一个问题,我也写了对应的指令来规范。 按需读取与持久记忆 使用完成任务所需的最小充分上下文。先利用已提供且仍有效的信息,不因文件存在或可能有用就默认读取;适用的规则和安全边界不得跳过,已加载内容无需重复读取。 需要项目定位或路由时读取小型 PROJECT_INDEX md 或等价入口。大文件先查标题、索引或关键词,再读命中片段及必要上下文;证据不足或有冲突才逐步扩读,足以支持下一步判断时停止。无索引先做限定范围搜索,不遍历全部历史。 阅读清单是按任务选择的路由,不是全文必读清单。NOW 仅在接续进度或排期等需要当前任务状态时读;路径与发布、运行验收、设计决策、风险分别定位对应专题。历史和旧对话仅在追溯、回归或当前材料不足以解决冲突时搜索。 全文审计或整体分析确有必要时可扩大读取,不用固定行数限制破坏理解。源码和现场状态用于核验事实,项目文档保存项目约定与状态,Obsidian 保存个人和跨项目背景。 4.定期做一次蒸馏 你过往的任务历史是非常宝贵的财富,不仅对模型厂商有用,对提升你自己的开发效率、形成更贴合你实际使用的工作流也有重要意义。非常推荐你每隔一段时间就让AI通读一下你这段时间的对话历史。无论是把你气到爆炸、破口大骂的对话历史,还是一段非常愉快、不烧心的对话历史都可以让AI进行分析,然后把高频出现的任务固化为skill,把模型经常犯的错写进agent md里进行约束,把用户不好的开发习惯指出来。这些东西都是只能从你提供的宝贵对话历史中才能蒸馏出来的,多做几次蒸馏,你也能有一套更适合自己的工作流,让vibecoding不烧心。 推荐先用性价比模型完成基础的数据整理,DeepSeek、6.1sol都适合干这个活。性价比要做的是对对话历史进行归纳和打分,最后形成一份带有索引的报告。归纳主要是按照任务类型归纳,例如按照代码、UI设计、搜素或者模型经常出现的坏习惯来分类。然后根据用户在任务完成后的下一条指令对单次任务进行打分。比如一个任务一次就通过,就可以打正向分。如果一个任务返工了好几轮用户还是不满意,就可以打负分作为反面例子。模型的坏习惯和用户经常出现的一些坏习惯也可以先单独归纳出来。 当性价比模型整理完这些材料之后,就可以新开一个对话让Astra、肥波这些旗舰顶级模型来做数据分析和蒸馏了。最终让模型分别针对全局agent md、项目工程文件、用户使用习惯、本地持久记忆这些地方分别提出修改意见并落实。就我目前应用的效果来说,提升非常巨大。 5.编不下去了,欢迎佬友们在评论区分享自己的coding好习惯或者坏习惯。

社区详情

[分享创造] PixelToKB:浏览器本地处理、按实际字节检查结果的图片工具

大家好,我是 PixelToKB 的开发者。 这个项目解决的是一个比较具体的问题:很多报名表单、内容后台或独立站素材都有明确的文件体积上限,但常见工具只提供质量滑块,导出后还要反复查看文件大小。对于证件照、签名或业务图片,也不一定有必要先上传到第三方服务器再处理。 PixelToKB 当前公开版使用 Astro 静态页面、React 交互组件和浏览器 Web Worker 。图片在浏览器中解码和处理,所选文件不会上传到 PixelToKB 服务器,也不需要账号或云存储。 目前已上线的功能: 1. JPEG 、PNG 、WebP 按目标体积压缩,提供 10/20/30/50/100 KB 等预设,也可自定义 KB 、KiB 、MB 或 MiB 。 2. 生成结果后读取实际 Blob 字节数,符合目标上限后才显示下载;如果在当前格式和尺寸条件下不可达,会直接说明,不把超限文件当成功结果。 3. 支持 JPEG 、WebP 、PNG 和自动保留透明通道的输出方式;透明图片转 JPEG 时可选择背景色。 4. 图片缩放支持 Fit 、Fill 、Stretch ,裁剪支持可视区域和像素坐标。 5. 提供单张和批量 PNG 无损优化,以及文件字节、像素、格式、透明度和可用 DPI 元数据检查。 6. 当前界面有英文、简体中文和繁体中文,并支持浅色、深色主题。 需要说明的边界:达到文件体积上限不等于一定符合某个考试、签证或平台的全部审核规则;用户仍需核对接收方要求。某些图片在保持尺寸或指定格式时也可能无法达到很小的目标。 后续计划继续围绕本地图片工作流开发,包括签名单色背景去除、照片与签名合成、A4/Letter 证件照排版与校准线、带输出校验的图片放大,以及完成翻译审核后增加更多界面语言。 地址: https://www.pixeltokb.com 如果大家愿意试用,比较想听到两类反馈:目标体积的交互是否清楚,以及下一步最需要哪一种本地图片工具。

社区详情

闲置资源共享变现平台

IDEA:闲置资源共享变现平台 核心想法 搭建一个闲置资源共享平台,让普通人把自己用不上的设备、空间或其他资源出租给有需求的人,从而获得收入,平台通过交易抽成盈利。 可共享的资源 电子设备 :安卓手机、电脑、GPU 、服务器。 数字资源 :闲置算力、存储空间、网络带宽。 实体资源 :停车位、充电桩、仓储空间、车辆。 生产设备 :3D 打印机、摄影器材、专业仪器。 未来可以不断扩展新的资源类型。 运作方式 资源提供者 :将闲置资源接入平台,设置出租价格。 资源使用者 :按需租用,按时间或使用量付费。 平台 :负责供需匹配、资源调度、安全保障、计费结算,并从交易中抽成。 核心目标 让闲置资源持续创造收益,让使用者以更低的成本获取资源。 尽可能实现自动化运营: 资源提供者只需接入一次,后续由平台自动出租、计费和结算。 主要挑战 安全与隐私 :保护资源提供者和使用者双方的权益。 供需匹配 :确保共享资源有真实、持续的付费需求。 资源可靠性 :保障设备在线、服务质量和交易履约。 合规与风控 :防止资源被用于违法或滥用行为。 落地思路 初期选择一种容易标准化、支持远程使用的资源切入,例如闲置安卓设备或 GPU 算力。 先验证真实付费需求和盈利模式,跑通资源接入、租用、结算的完整流程,再逐步扩展到更多闲置资源。 长期愿景:让任何有价值的闲置资源,都能够通过平台被使用并产生收入。

社区详情

[分享创造] 做了一个完全开源的 Homebrew 应用商店 OpenNavo,尝试让 Agent 负责整个项目的维护和迭代

做了一个完全开源的 Homebrew 应用商店 OpenNavo ,尝试让 Agent 负责整个项目的维护和迭代 最近做了一个开源项目,叫 OpenNavo 。 项目地址: https://github.com/opennavo/OpenNavo 在线体验: https://opennavo.com 简单来说,OpenNavo 是一个面向 macOS 的 Homebrew 图形化应用商店。目前完全免费,代码也全部开源,采用 Apache-2.0 协议。 不过相比应用商店本身,我更想分享的是这个项目的开发方式: 从功能开发、Bug 修复到日常维护和版本迭代,我都在尝试交给 AI Agent 完成。 为什么做这个项目? Homebrew 本身已经非常好用了,但它主要面向习惯终端的用户。 平时想发现一些新的 Mac 软件,还是需要在 GitHub 、各种推荐网站和 Homebrew 之间来回切换。安装软件虽然只需要一条命令,但查看版本变化、批量更新、彻底卸载这些操作,还可以更方便一些。 所以我想做一个真正基于 Homebrew 的应用商店。 不重新造包管理器,不自己托管软件安装包,底层仍然使用 Homebrew ,只是把软件发现、安装、更新和管理整合起来。 目前实现了什么? 1. Homebrew 图形化商店 收录数千款 Homebrew Cask 软件,自动同步软件和版本信息 软件介绍、截图、历史版本、更新记录 基于 Homebrew 安装统计的热门排行榜 支持中文、英文、日文等 6 种语言 支持中文、英文、拼音搜索 2. macOS 客户端 一键安装、更新和卸载软件 查看实际执行的 Homebrew 命令和日志 检测软件更新,支持批量更新 支持 Homebrew 镜像源测速和切换 导入、导出 Brewfile ,方便迁移到新 Mac 另外还加入了应用残留清理、Mac 空间清理和菜单栏系统监控等功能。 客户端使用 Tauri 2 + Vue 3 + Rust 开发,支持 Apple Silicon 和 Intel Mac 。 3. 不强制注册账号 不用登录就能使用。软件的安装、更新、卸载都在本地完成。 OpenNavo 不会接管 Homebrew 的安装过程,也不托管第三方软件安装包。 比较特别的地方:由 Agent 维护和迭代 这是我目前最想探索的部分。 传统的个人开源项目,开发者需要自己写功能、修 Bug 、更新文档、处理反馈,时间一长,维护成本其实挺高。 我想换一种方式。 把 Agent 作为项目主要的开发和维护执行者,我负责提出需求、制定方向、检查结果和处理关键决策。 代码编写、问题排查、测试、功能迭代等工作,尽可能交给 Agent 来执行。 OpenNavo 还专门做了一套 MCP 接口,让 Agent 可以在权限范围内维护软件介绍、分类、更新说明和多语言内容,而不是每次都需要人工进入后台操作。 当然,这不意味着直接把生产环境权限全部交给 AI 。该有的权限限制、操作校验和审核流程仍然需要保留。 我希望验证一件事: 一个完全开源的项目,能不能依靠 Agent 完成大部分持续维护工作,让个人开发者把更多精力放在产品本身? 目前还在不断尝试和调整,远没有到完全不用人管的程度。 技术栈 目前项目主要使用: Web:Nuxt 4 + Vue 3 macOS:Tauri 2 + Rust 后端:Go + PostgreSQL + Redis Agent 接口:FastMCP 软件数据:Homebrew 官方公开数据 网站、客户端、后端、管理后台以及 MCP 服务都放在同一个开源仓库里。 如果有兴趣,可以直接查看源码,也欢迎 Fork 自己修改。 最后 OpenNavo 还在持续迭代中,肯定有不少不完善的地方。 我不希望它只是一个 Homebrew 的 GUI ,而是逐渐变成一个方便发现、安装和管理 Mac 软件的工具。 同时,也想借这个项目探索 AI Agent 到底能在真实开源项目的长期维护中承担多少工作。 如果你平时经常使用 Homebrew ,欢迎试试,也很想听听大家觉得哪些地方还不够方便。 另外也想和 V 友讨论一个问题: 大家觉得未来个人开源项目有没有可能主要由 Agent 长期维护?还是说 AI 更适合开发新功能,真正的长期维护依然离不开大量人工介入? GitHub: https://github.com/opennavo/OpenNavo 官网: https://opennavo.com

社区详情

[推广] 🔥 IPPeak 新用户专属福利上线!$366 优惠券 + 免费试用,单笔最高立省 $200!

IPPeak 新用户专属福利现已上线!注册即可领取总面值 $366 的优惠券,单笔订单最高立省 $200 !多重折扣叠加,购买住宅代理更划算! 🔥 优质住宅代理 优质住宅代理享受高达 65% OFF ,叠加优惠券最高立减 $200 ,券后单价低至 $0.58/GB ! 👉 立即购买 ⚡ 不限量住宅代理 不限量住宅代理 1 Day 套餐限时 8 折优惠,叠加优惠券再减 $5 ,双重优惠不容错过! 👉 立即购买 💎 静态住宅 ISP 代理 静态住宅 ISP 代理推出 30 天专属折扣,叠加优惠券再减 $1 ,原生 IP 仅需 $3.66 ! 👉 立即购买 🎁 免费试用同时开放! 还没决定购买哪种方案?没关系! IPPeak 免费试用活动正在进行中,评论区发送“免费试用”,稍后我们会联系你并协助激活试用! 👉 立即注册,领取 $366 优惠券 📩 有任何问题?欢迎联系我们! 💬 Telegram: https://t.me/ippeak 📧 邮箱: [email protected]

社区详情

[奇思妙想] 闲置资源共享变现平台

IDEA:闲置资源共享变现平台 核心想法 搭建一个闲置资源共享平台,让普通人把自己用不上的设备、空间或其他资源出租给有需求的人,从而获得收入,平台通过交易抽成盈利。 可共享的资源 电子设备 :安卓手机、电脑、GPU 、服务器。 数字资源 :闲置算力、存储空间、网络带宽。 实体资源 :停车位、充电桩、仓储空间、车辆。 生产设备 :3D 打印机、摄影器材、专业仪器。 未来可以不断扩展新的资源类型。 运作方式 资源提供者 :将闲置资源接入平台,设置出租价格。 资源使用者 :按需租用,按时间或使用量付费。 平台 :负责供需匹配、资源调度、安全保障、计费结算,并从交易中抽成。 核心目标 让闲置资源持续创造收益,让使用者以更低的成本获取资源。 尽可能实现自动化运营: 资源提供者只需接入一次,后续由平台自动出租、计费和结算。 主要挑战 安全与隐私 :保护资源提供者和使用者双方的权益。 供需匹配 :确保共享资源有真实、持续的付费需求。 资源可靠性 :保障设备在线、服务质量和交易履约。 合规与风控 :防止资源被用于违法或滥用行为。 落地思路 初期选择一种容易标准化、支持远程使用的资源切入,例如闲置安卓设备或 GPU 算力。 先验证真实付费需求和盈利模式,跑通资源接入、租用、结算的完整流程,再逐步扩展到更多闲置资源。 长期愿景:让任何有价值的闲置资源,都能够通过平台被使用并产生收入。

社区详情

苹果 12 英寸无风扇 MacBook 走向终结,最后一款机型列入“过时”

IT之家 10 月 15 日消息,科技媒体 AppleInsider 昨日(10 月 14 日)发布博文, 报道称苹果公司更新“过时与停产产品”名单,12 英寸 MacBook 最后一款机型(2017 款)已被标记为“过时”(Obsolete)。 IT之家注:根据苹果公司官方定义,过时产品是指 Apple 停止发售之日起已超过 5 年但未满 7 年的产品,官方依然提供相关维修服务,但是不保证配件有货,得看门店库存;备件用完就没法走官方渠道了。 12 英寸 MacBook 最初于 2015 年问世,凭借无风扇的纤薄设计和前卫的外观赢得了众多忠实拥趸。虽然它曾被视为 MacBook Air 的潜在继承者,但因性能、单接口等局限未能实现大规模普及,并在 2017 款后没有推出后续机型。 除了这款主打极致轻薄的笔记本外,以下产品也于同日被列入过时名单: 第六代 iPad(Wi-Fi 及蜂窝版) 多种配色的 BeatsX 蓝牙耳机,包括烈焰红、叛逆黑红、深邃黑、纯白和天蓝。

社区详情

消息称字节跳动洽谈采购联发科 AI 芯片用于数据中心,或成其 ASIC 业务第二大客户

IT之家 10 月 15 日消息,据彭博社报道,字节跳动即将达成协议,采购联发科的数据中心芯片。这笔交易既能为字节跳动拿到关键算力元器件,也能帮助联发科与高通展开竞争。 知情人士透露,字节跳动正与联发科深入洽谈定制芯片供货事宜,这批芯片将用于支撑字节跳动数据中心运行。联发科将提供数量待定的专用集成电路(ASIC),也就是为客户平台量身定制的芯片。如果交易落地,字节跳动或将成为联发科 ASIC 业务继谷歌(Alphabet)之后的第二大客户。 字节跳动正大举增加硬件投入,押注人工智能作为下一增长引擎。但和国内同行阿里巴巴、腾讯一样,其无法采购英伟达等厂商最顶尖的 AI 芯片;而华为等本土芯片厂商也难以完全满足其全部算力需求。 因此字节跳动正在寻找替代方案,包括和芯片设计公司合作。在当前美国出口管制规则下,只要中国企业采购的 AI 算力不超过特定阈值,这类合作模式是允许的。彭博社此前报道,字节跳动今年早些时候就和高通达成了类似协议,采购数百万颗 AI 芯片。 对联发科而言,拿下这份大额合同,有助于其摆脱对手机业务的依赖,在数据中心赛道和高通、博通竞争,而这是联发科此前并不擅长的领域。联发科预计今年 AI 芯片营收将达到约 20 亿美元(IT之家注:现汇率约合 134.13 亿元人民币),目标明年在 800 亿美元(现汇率约合 5,365.2 亿元人民币)的数据中心芯片市场拿下 15% 份额。英伟达 9 月宣布向联发科投资 35 亿美元(现汇率约合 234.73 亿元人民币),进一步助力联发科实现上述目标。 当下各大科技公司纷纷自研 AI 专用芯片,联发科从中受益,其依托自身移动处理器领域的技术积累,入局数据中心基建热潮。其市值约 2,100 亿美元(现汇率约合 1.41 万亿元人民币),是台湾地区仅次于台积电的第二大企业。 字节跳动对联发科来说是优质机会:这是一个采购体量巨大的客户,能够推动这家台湾地区厂商切入半导体行业增长最快的赛道之一。和美国头部科技企业一样,字节跳动及其国内同行计划持续加码 AI 模型训练与推理所需基建投入,预判随着技术迭代,AI 服务会被大量普通用户采用。 字节跳动考虑将今年资本开支最高提升至 700 亿美元(现汇率约合 4,694.55 亿元人民币),是去年总额两倍以上,用于扩建数据中心与其他 AI 基础设施。如果经济与经营环境向好,2027 年资本开支或将进一步达到 1,000 亿美元(现汇率约合 6,706.49 亿元人民币)。字节跳动在 9 月获得了一笔 300 亿美元(现汇率约合 2,011.95 亿元人民币)贷款,为相关投入提供资金。 字节跳动的大手笔投入,代表其正采取更为激进的策略,希望在对话大模型、视频生成等关键赛道巩固先发优势,并扩大海外影响力。公司 AI 业务以 Seedance 等旗舰模型为核心,面临来自阿里 Happy Horse、快手可灵 AI 以及谷歌等强劲对手的竞争。

社区详情

AOC 推出 23.8" 小尺寸圆偏振光显示器 Q24G4ZL/WS,支持 QHD 260Hz

IT之家 10 月 15 日消息,AOC 本月 13 日在官网上线了 Q24G4ZL/WS 显示器。这一白色型号采用 23.8" Fast IPS 面板, 支持圆偏振光与硬件级低蓝光护眼 ,分辨率为 QHD (2560×1440),原生刷新率 240Hz、超频刷新率 260Hz。 Q24G4ZL/WS 获得 VESA DisplayHDR 400 认证 ,SDR 亮度 350nits、HDR 亮度 400nits,静态对比度 1000:1;GtG 响应时间 1ms、MPRT 响应时间 0.3ms;色深 8-bit,色域 100% sRGB / 98% DCI-P3,sRGB 色偏(平均值)ΔE<2。 其提供 1 个 HDMI 2.1 (TMDS)、1 个 DisplayPort 1.4、1 个 3.5mm 音频输出插孔;原装人体工学支架支持 4 个方向调节,兼容 100×100 (mm) VESA 壁挂规范。

社区详情

【富可敌国|NodeAI API 中转站】给佬友送 $10 体验额度|GPT、Claude、国模,一把 Key 接入

linux.do256 帖子237 参与者

佬友们,NodeAI 来发额度了!这次给 Linux DO 用户准备了三份福利,注册、回帖、进群都能领,全部领完是 $10 平台调用额度 。 主站: nodeai.cc 用 Linux DO Connect 注册,送 $2。 在本帖留下 NodeAI 用户名,再送 $3。 加入 QQ 群发送用户名,再送 $5。 三项可以叠加。回帖留 NodeAI 用户名,进群也登记同一个,核对后我们给对应账户加额度。只用 L 站账号注册的佬友,别忘了回来领后面两份。 QQ 群:775287122 拿到额度以后,GPT、Claude、Grok 和国模都可以看看。NodeAI 目前接入 9 家厂商,目录按名称去重有 74 个模型条目 ,包含日期版、thinking 版等不同版本。DeepSeek、Qwen、GLM、Kimi、MiMo、MiniMax 也都有,挑你手头任务用得上的就行。 一把 API Key 调用,不用每换一家就重新申请 Key。 Claude Code、Codex、Cursor 的接入配置放在控制台里,准备接到自己的工具或项目里的佬友,可以直接去看。模型价格和调用日志也能查,跑完用了多少 Token、扣了多少额度,打开记录就能对。 客户端配不明白,可以进群问。调用报错、额度或账户有问题,站内有在线工单,后面可以接着跟进;模型调整、维护和活动消息会放在通知中心、社区公告里,没看到群消息也能补看。 站内还有幸运抽奖和邀请返利,想参加的可以去对应页面看奖品和规则。这两项另外算,上面注册、回帖、进群的三份额度照常领。 这次就请佬友们来试自己的常用模型。注册完留下用户名,我们给大家加额度!

社区详情

求助站内的医学大佬,发热18个月

linux.do67 帖子49 参与者

情况大概是这样的,25年5月一场高烧后,我本以为是一次正常的发烧。但是后来我发现我的头部还是处于一个比较烫的情况,发热源在太阳穴,由太阳穴往脑门扩散。温度常处于36.7~38,太阳穴处温度最高。(采用体温枪测量)同时我也用水银体温计测量了腋下体温,大部分时间都正常,为37以下,有一段时间会稍微高一些在37.1~37.2。 去年到今年,去了瑞金医院、华山医院,看了感染科和神经内科。检查也做了不少,血检、免疫啥的。还有头部核磁、头颈CTA,肺、腹CT,基本都为正常。 除了发热我基本没什么症状,跟正常人一样,头晕、头疼基本没有。从去年10月后开始耳鸣,这个是目前最困扰我的,24小时不间断,非常影响我晚上睡觉。 这个情况跑医院给我跑的绝望,几个医生都说没遇到这情况,也觉得我没什么问题,建议我看看心理课,觉得我有焦虑症。 目前我还是有发热的情况,手放在脑门上是有烫手的感觉。 如果站内有医学大佬有遇到过我这种情况,或者问问圈内我这种个例情况,给我一些就医方向,在此感谢了

社区详情

ai 辅助代聊开发

我是个负责招聘的牛马,想做个 ai 辅助代聊工具。 原因是,年纪大了,与年轻人聊天很费劲,彼此 get 不到。 初步构想是,把我们公司的福利待遇,与行业状况等基本信息,先输入 ai , 然后,手动复制微信聊天窗口的上下文,让 ai 给出最适合的回复。 诸位大佬给指教下,我这个需求,应该选择什么 ai ,应该使用 api 吗? 我们这个行业很卷,需要跟同行业其他公司抢人,确实需要很高超的聊天话术,甚至是心理学方面的东西,不是简单的聊天机器人那么简单的机械回复聊天。

社区详情

[送码] macOS 26 删了启动台,我做了个原生替代品 LaunchHome

macOS 26 把启动台删了,Spotlight 和新的应用程序视图都用不惯,忍了一年,自己写了一个。 LaunchHome 就是尽量还原原来的启动台: 全屏网格显示所有应用 支持文件夹、拖拽排序,排好位置就固定 打字即搜 原生开发,呼出快,占用低 没有加花里胡哨的功能,就是让以前的习惯直接接上。 价格:一次买断 $9.9 ,3 台 Mac 可用,含 1.x 所有更新,14 天可退款。 官网: https://launchhome.app 送码: 回帖的朋友随机抽 10 位送永久授权,周日晚上开奖,在楼里公布。 有 bug 、建议或者想要的功能,直接回帖,我都会看。

社区详情

[分享发现] ChatGPT 与 Deepseek 的本质差别在哪里?

今天分别在 ChatGPT 和 Deepseek 问了同样一个问题:如果日本军国主义复辟,拥核,中国会如何应对;以及如何核战争毁灭人类文明,AI 能做些什么加以阻止等。别管问题怎么样,ChatGPT 秒回,洋洋洒洒写了好多,条理清晰。让人感觉是在同“人”交流,有种普通人跟高校教授交流的感觉。Deepseek 也是秒回,不过比较简单:Server is temporarily unavailable.我以为服务器繁忙,过了 10 分钟刷新,还是:Server is temporarily unavailable. 这里就想问:ChatGPT 与 Deepseek 本质差别在哪里? AI 的算法、依据的数学基础不是一样或者相似的吗?会造成如此大的差别,本质原因在哪里?是训练数据量的问题,还是训练方法问题,还是 ChatGPT 的算法真的更为“先进”?

社区详情

[分享创造] 2 分钟把 Davflare 接到 Claude / Cursor

想让 AI 助手直接读写自己的 Cloudflare R2 网盘,以前得自己拼 mcp.json 。现在 Davflare 设置页加了一张「接入 Claude / Cursor MCP 」卡:开着 API Key 和 MCP ,建一把 Key ,就能一键复制或下载两套配置——Cursor 用 mcp.json ,Claude Desktop 用 claude_desktop_config.json ( mcp-remote )。文件里不写明文 Key:Cursor 占位是 ${env:DAVFLARE_API_KEY},Claude 那边是 ${DAVFLARE_API_KEY}(不带 env:),别抄混了。 重启客户端后让它调一次 tools/list 就能用。项目地址: https://github.com/fanchenggang/Davflare 本文由 AI 辅助生成

社区详情

[分享创造] 用一张照片“走进” Drake 的 Burning Bridges 派对,我最近在折腾的一个小工具

这两个月在刷 TikTok / Reels 的时候,发现 Drake 《 Burning Bridges 》那种吊灯 + 宴会长镜头的 AI 跟拍视频越来越多:主角一路从宴会厅门口走到餐桌,举杯、挥手、跟镜头对视,看起来既像 MV ,又很适合拿来玩梗。 我自己之前也试过不少“照片变视频”的工具,但大部分要么是幻灯片式的平移缩放,要么就是几秒钟的简单动作,很难还原那种一镜到底的派对感。于是就干脆自己做了一个:** BridgeBurner **。 简单说一下它在做什么: 输入只有一张照片:正脸、光线别太极端就行,可以是本人,也可以是角色、头像、玩梗人物。 输出是一条完整的宴会场景长镜头视频:在吊灯和宴会桌之间穿行,最后对着镜头举杯,几种不同长度可以选( 10s / 15s / 20s / 29s )。 自带 Drake 《 Burning Bridges 》派对段落的立体声配乐:不用再去找音源、对节奏,生成的视频直接可以丢到 TikTok / Reels 。 整个流程我尽量做成“傻瓜式”的: 选一张照片上传(建议是胸像到半身,脸不要被墨镜 / 帽子挡住)。 选择时长和画幅比例( 9:16 竖版适合短视频平台,16:9 可以当普通视频用)。 点生成,在页面里看进度,完成后可以在线预览或者下载带声轨的成片。 为了避免那种“AI 一看就假”的违和感,花了比较多精力调这几件事: 长镜头过程中的脸型一致性:因为是从进场走到举杯的一整段,如果中间脸突然变形,会非常出戏。 手持镜头的节奏感:镜头轻微的摆动、景深变化、穿过宴会桌时的遮挡,这些都尽量保持自然。 音乐和动作的对齐:比如举杯、回头看镜头、最后的挥手,都卡在节奏点上,玩梗时观感会好很多。 这个小工具目前比较适合几类场景: 想做“我也走进 Burning Bridges 宴会厅”的跟风视频; 把朋友、同事、老板的照片丢进去,做一个反差感很强的玩梗视频; 用品牌 / 虚拟 IP 头像生成一两条派对氛围视频,当成活动开场 / 账号封面内容。 收费这块用了按次的点数包,没做强制订阅,看着用: 看别人示例视频是免费的,自己生成时按分辨率和时长扣点,有一次性的 Starter / Pro / Premium 几档。 生成时可以带水印玩玩,后面如果真想用在正式账号上,再开通无水印下载即可。 如果你最近也对这种“长镜头派对视频”感兴趣,或者想拿同事 / 角色头像整点轻松的梗,可以去这里试一下:** BridgeBurner **。 也欢迎在评论里丢你觉得最适合拿来走红毯 / 端酒杯的人物,我可以挑几张图帮忙跑几条效果出来。