How can large language models (LLMs) process and translate endangered languages? Many languages lack a large corpus to train a decent LLM; therefore existing LLMs rarely perform well in unseen, endangered languages. On the contrary, we observe that 2000 endangered languages, though without a large corpus, have a grammar book or a dictionary. We propose LINGOLLM, a training-free approach to enable an LLM to process unseen languages that hardly occur in its pre-training. Our key insight is to demonstrate linguistic knowledge of an unseen language in an LLM's prompt, including a dictionary, a grammar book, and morphologically analyzed input text. We implement LINGOLLM on top of two models, GPT-4 and Mixtral, and evaluate their performance on 5 tasks across 8 endangered or low-resource languages. Our results show that LINGOLLM elevates translation capability from GPT-4's 0 to 10.5 BLEU for 10 language directions. Our findings demonstrate the tremendous value of linguistic knowledge in the age of LLMs for endangered languages. Our data, code, and model generations can be found at https://github.com/LLiLab/llm4endangeredlang.
Distributed Denial of Service (DDoS) attacks remain a persistent threat to the availability of Internet services, edge networks, and cyber-physical infrastructure. Although recent AI-security work has increasingly focused on foundation models, autonomous agents, and adversarial robustness, many operational defense tasks still require low-latency classification close to the network edge, where cloud-scale analysis may be too slow or expensive. This paper presents a lightweight supervised deep learning approach for DDoS detection using a convolutional neural network (CNN) trained on packet-flow representations derived from the CIC-DDoS2019 benchmark dataset. The proposed pipeline extracts packet flows from PCAP traffic, normalizes them to fixed-length representations, and classifies each flow as benign or malicious using a compact CNN architecture with convolution, dropout, pooling, and sigmoid classification layers. On a held-out test set of previously unseen flows, the model achieves 0.9883 accuracy, 0.9864 precision, 0.9784 recall, and 0.9824 F1 score, while processing the evaluated test flows in 0.28 seconds. These results suggest that compact neural models can provide useful early-warning signals for edge-oriented DDoS detection. We further discuss deployment constraints, benchmark limitations, and future directions for cross-dataset evaluation, hardware-aware profiling, and integration with mitigation pipelines.
We investigate the problem of machine learning-based (ML) predictive inference on individual treatment effects (ITEs). Previous work has focused primarily on developing ML-based meta-learners that can provide point estimates of the conditional average treatment effect (CATE)---these are model-agnostic approaches for combining intermediate nuisance estimates to produce estimates of CATE. In this paper, we develop conformal meta-learners, a general framework for issuing predictive intervals for ITEs by applying the standard conformal prediction (CP) procedure on top of CATE meta-learners. We focus on a broad class of meta-learners based on two-stage pseudo-outcome regression and develop a stochastic ordering framework to study their validity. We show that inference with conformal meta-learners is marginally valid if their (pseudo-outcome) conformity scores stochastically dominate oracle conformity scores evaluated on the unobserved ITEs. Additionally, we prove that commonly used CATE meta-learners, such as the doubly-robust learner, satisfy a model- and distribution-free stochastic (or convex) dominance condition, making their inferences valid above a distribution-dependent coverage threshold, up to an exponentially small slack term. Whereas existing procedures conduct inference on nuisance parameters (i.e., potential outcomes) via weighted CP [1], conformal meta-learners enable direct inference on the target parameter (ITE). Experiments show that conformal meta-learners provide valid intervals with competitive efficiency while retaining the point estimation accuracy of CATE meta-learners.
Document layout analysis (DLA) splits a page into regions such as paragraphs, text boxes, images and tables before optical character recognition is applied. For Bengali, the BaDLAD dataset now makes it possible to train and compare DLA models at scale. In this work we train Mask R-CNN models in Detectron2 on BaDLAD using three backbones (ResNet-50, ResNet-101 and ResNeXt-101 32x8d, each with a feature pyramid network) and two initializations: an ImageNet-pretrained backbone, and a full model pretrained on the English PubLayNet dataset. All six models were scored with the Dice coefficient on the DL Sprint 2.0 test set (about 3,900 images) and hidden test set (about 9,100 images). ResNet-101 with ImageNet initialization obtained the highest Dice on both sets, 0.89191 and 0.89283. The five models with both scores were ranked in the same order on the two sets. PubLayNet initialization gave higher Dice for ResNet-50 and ResNeXt-101, where both initializations were trained for a similar number of iterations. For ResNet-101 the two runs had different training lengths, so the effect of initialization could not be separated. On one NVIDIA P100 GPU, the ResNet-101 pipeline processed 4.67 images per second including post-processing.
Ensuring public safety in a Smart City (SC) environment is a critical and increasingly complicated task due to the involvement of multiple agencies and the city's expansion across cyber and social layers. In this paper, we propose an extensive form perfect information game to model interactions and optimal city resource allocations when a Terrorist Organization (TO) performs attacks on multiple targets across two conceptual SC levels, a physical, and a cyber-social. The Smart City Defense Game (SCDG) considers three players that initially are entitled to a specific finite budget. Two SC agencies that have to defend their physical or social territories respectively, fight against a common enemy, the TO. Each layer consists of multiple targets and the attack outcome depends on whether the resources allocated there by the associated agency, exceed or not the TO's. Each player's utility is equal to the number of successfully defended targets. The two agencies are allowed to make budget transfers provided that it is beneficial for both. We completely characterize the Sub-game Perfect Nash Equilibrium (SPNE) of the SCDG that consists of strategies for optimal resource exchanges between SC agencies and accounts for the TO's budget allocation across the physical and social targets. Also, we present numerical and comparative results demonstrating that when the SC players act according to the SPNE, they maximize the number of successfully defended targets. The SCDG is shown to be a promising solution for modeling critical resource allocations between SC parties in the face of multi-layer simultaneous terrorist attacks.
Training face recognition models with millions of identities is bottlenecked by the classification head: classifier storage, logit memory, and computation grow linearly with class count, making full softmax impractical even when the backbone fits in memory. We present Partial FC (PFC), an approximation to large-class softmax that keeps every positive class center while activating only a random subset of negatives per mini-batch. PFC partitions the classifier across GPUs and samples within each owned shard: sampling shrinks local GEMMs and logits, while permanent ownership removes classifier-gradient synchronization without feature retrieval. Our system scales to 64M classes on one eight-GPU machine. Moderate sampling rates match full-softmax accuracy, reaching 97.2\% TAR on IJB-C (FAR $=10^{-4}$) and 94.0\% on ICCV21-MFR (FAR $=10^{-6}$). Under 40\% label flips, PFC with conflict filtering lifts MFR TAR from 43.9\% to 80.2\%, and on long-tailed data PFC raises TAR from 87.4\% to 92.0\% overall.
We present 4DAnything, a feed-forward generative model that reconstructs complete 4D object geometry, appearance, deformation, and camera-space transformation from casually captured monocular videos. While optimization-based methods can reconstruct dynamic objects from real-world videos, they require costly per-sequence optimization; conversely, feed-forward alternatives enable efficient inference, but learn only from synthetic 4D assets and do not recover the object's camera-space motion, limiting their robustness on real videos. To bridge this gap, 4DAnything adapts a pretrained single-image 3D generative model to video by introducing cross-frame information sharing during generation and decoding to reason about the complete object and its motion, and extends data-driven training to real-world videos reconstructed offline by test-time optimization. First, we preserve the pretrained 3D prior knowledge and reuse the model's self-attention to attend across frames, so that per-frame shape, appearance, and camera-space transformation stay coherent over time and regions visible in one frame inform those occluded in others. Second, the pretrained decoder is adapted to aggregate per-frame latents into a single set of canonical Gaussians and deformations, producing one consistent object with geometry and appearance correspondence across the video. Finally, to learn from diverse real-world data, we run test-time optimization offline to obtain large scale 4D pseudo-ground truth from videos in-the-wild, and use online direct preference optimization to score 4DAnything's own samples, reducing errors inherited from the pseudo-ground truth. Our method demonstrates state-of-the-art reconstruction performance on diverse sequences with complex motion, occlusions, and scene clutter, outperforming prior work on both synthetic and in-the-wild benchmarks. We will publicly release our code, model and data.
Multi-view visual geometry learning has made rapid progress, but its scalability remains limited by supervision. State-of-the-art reconstruction models typically rely on datasets with geometry and camera annotations, which are costly to obtain, while novel-view synthesis models similarly require calibrated multi-view data, restricting their ability to learn from raw video collections. We present Uni3D, a unified multi-view reconstruction and view synthesis framework for scalable visual geometry learning. Uni3D unifies these two tasks in a single model: a shared visual backbone produces per-view geometry tokens and learnable camera tokens, which are decoded by point and camera heads when 3D supervision is available, and consumed by the view synthesis branch when only video is available. An asymmetric attention mask routes information from reference views to target views, enabling the synthesis branch to be conditioned on cameras predicted by the reconstructor itself. Uni3D can therefore be trained jointly on labeled multi-view reconstruction datasets and unlabeled videos without camera annotations. Experiments show that unified training improves both reconstruction and novel-view synthesis over task-specific models, and that unlabeled videos provide effective supervision for scaling visual geometry learning.
Algorithmic risk predictors are increasingly being used to inform resource allocation in healthcare and other high-stakes domains. Common in many such settings, the public decision maker delegates service provision to private organizations and compensates them according to each individual's predicted cost of service. We show that this common allocation mechanism can fail when organizations engage in favorable selection, i.e., strategically choosing individuals whose actual costs are below the payment model predictions. Motivated by health insurance payments in the Medicare Advantage (MA) program, we provide a theoretical framework to study the interaction between a decision maker and a strategically selecting service provider. Our theoretical framework predicts two empirical patterns observed in Medicare Advantage that have become central concerns: enrollment in the private program expands, while government payments rise above the counterfactual cost of direct public provision. Guided by our theoretical framework, we then propose a reformed payment policy that is implementable under the government's data-access constraints. We prove that its equilibria eliminate overpayment while preserving profits for efficient organizations. We validate the framework in synthetic and semi-synthetic experiments that illustrate the advantages of our reformed policy, over the status quo.
Recent advances in AI have enabled a new class of self-evolving agents capable of taking in multimodal inputs and feedback for continuous self-adaptation. However, studies have shown that they do not always evolve as intended, resulting in a deterioration of agent's trustworthiness, which is called misevolution. To date, there is no successful method that detects and prevents misevolution. Further, the extent of misevolution in multimodal agents remains unexplored across different trustworthiness aspects, such as safety, robustness, fairness, privacy, and truthfulness. We address this gap by introducing uncertainty and intent alignment as internal and behavioral anomaly measures that can detect misevolution and by analyzing their effectiveness across several dimensions of trustworthiness. Using this analysis, we propose, ADAPT, an intent-based, uncertainty-aware, trajectory-based framework which reduced misevolution by up to 65 percentage points across four evolutionary pathways (model, tool, workflow and memory). Across all settings, ADAPT outperforms the baseline mitigation across almost all four evolutionary pathways and both modalities, and in several settings even surpasses the trustworthiness of the unevolved base agent, showing that the ADAPT framework can do more than undo misevolution. Our findings reveal critical factors affecting agent evolution. (i) Visual cues provide contextual grounding that can partially mitigate misevolution, but may still be overridden by memory-driven language priors, and (ii) ADAPT interventions are more effective when conveyed through natural-language instructions rather than numerical signals. Code, trained models, and the project page are available on https://github.com/ADAPT-sea/self-evolve-safely , https://hf.co/collections/ADAPT-sea/self-evolve-safely , and https://adapt-sea.github.io/self-evolve-safely-page/ .
Distances are the raw material of nearest-neighbour search, clustering, kernel methods and graph-based learning, yet the Euclidean distance between two data points can be badly misleading when the data lie on a curved, folded or non-uniformly sampled manifold. The object that tells us how to measure lengths and angles \emph{locally}, at each sample, is the Riemannian metric tensor. We present Geodesic Diffusion Tensor (GDT), a simple and scalable algorithm that estimates this tensor at every point of a dataset. GDT imagines a random walker that takes one short step from each sample and records the second moment of the step. Three design choices make this idea work on real data: steps are measured along shortest paths of a $k$-nearest-neighbour graph, so that they follow the data instead of cutting across folds; step probabilities are corrected by an $\alpha=1$ density normalization, so that densely sampled regions do not bias the estimate; and the reference point is excluded from its own neighbourhood. The algorithm needs one truncated Dijkstra search and one small singular value decomposition per sample, is embarrassingly parallel, and its cost grows only linearly with the ambient dimension. We explain, with simple arguments, why it works: the estimate does not depend on the sampling density, its systematic error is an explicit curvature term of order $h^2$, and it converges at explicit rates in which the ambient dimension enters only logarithmically. Experiments on synthetic manifolds, image manifolds in $\mathbb{R}^{1024}$ and handwritten digits confirm the theory down to its constants, show the advantages of GDT on folded manifolds and under non-uniform sampling, and identify its failure modes. A reference implementation is publicly available.
Large Language Models (LLMs) have grown in popularity in recent years and are known for their ability to generate output in various forms. Text summarization is one of the uses of LLMs that have been highly beneficial to users. Given the millions of training parameters that go into training LLMs, they have achieved remarkable success in generating summaries of good textual quality, but not so much in fairness of multi-document sets written by diverse authors. We define four major fairness dimensions that should be passed down from source document to summary, to preserve the integrity in terms of diversity of the source document, and propose a unified metric FairSummEval for evaluating fairness in summarization without relying on input group distribution or proportion. To test the effectiveness of our proposed metric, we introduce a controlled set framework for metric validation since human perception of fairness is known to be subjective. We compare our metrics with other fairness metrics, and our results show that despite needing no attribute label or group distribution, our proposed metric is more consistent in evaluating fairness of summaries on both structured and unstructured data across multiple domains.
Given a single image of a room and a text prompt, producing a 3D motion sequence of a virtual person performing the described action is out of reach for existing methods. Scene-conditioned methods need hours of paired (scene, motion, language) capture. Zero-shot methods need a pre-scanned 3D scene. Image-based methods produce only static poses. We propose a training-free pipeline that synthesizes scene-aware human-scene interaction (HSI) motion from a single RGB image and a free-form text prompt, with no HSI-specific training and no pre-scanned 3D scene. The key observation is that every needed capability already exists as a frozen foundation model: the bottleneck is composition, not capability. Our method, ENACT, uses a vision-language model (VLM) for high-level reasoning. The VLM parses the input image and prompt into one structured keyframe per sentence, listing the action verb, the body part, the target object, a six-bin contact yaw, an image-edit prompt, and a foot-grounding flag. The keyframe then drives seven frozen specialists: a monocular 3D model for the scene point cloud, an open-vocabulary segmenter for object localization, a single-view mesh reconstructor for object geometry, an instruction-following image editor for a synthetic interaction image, an image-conditioned human-mesh recoverer for pose initialization, a 2D-grounded 3D contact predictor for object affordance, and a constraint-conditioned motion diffusion model for motion synthesis. Per-keyframe contact poses are optimized under a whole-body diffusion prior, and the motion diffusion model connects successive keyframes into one continuous motion. ENACT achieves the lowest mean and maximum scene penetration and foot sliding among all baselines on a standard HSI benchmark, despite using the least input. It also generalizes to synthetic dataset and in-the-wild phone images, including chained multi-step interactions.
Our earlier method, CHAIR, chooses among the candidate answers a benchmark provides: it reads each candidate's score at every layer of a frozen language model and fits a small classifier on a few labelled questions of that benchmark. CHAIR2 carries this idea to a small model that reasons on a new task, where the candidates are the model's own sampled solutions and no labels exist. Two things have to change. First, CHAIR's readout does not suffice: while the model reasons, the readout moves towards the answer the model is about to give, right or wrong. CHAIR2 therefore fits its classifier on the hidden states of several layers to score how likely a finished solution is correct. Second, the labels come from designed questions whose answers a program computes: the frozen model answers 1,200 of them and every solution is graded automatically. On a new task the scores weight each of eight sampled solutions and the answer with the largest total weight is returned; decoding is unchanged and no target-task label is used. Across four small models and 23 model-task settings, this improves accuracy over majority voting by 2.13 percentage points (95% interval 1.6 to 2.7), about two thirds of the 3.25 points obtained with target-task labels; restricted to output probabilities, the same procedure gains 0.36. The gain comes from questions that require derivation, not recall, and grows with their number more than with their selection. It is largest on arithmetic and logic and no better than a shuffled-label control on knowledge-dependent tasks; on three settings added later it is clear only on coin flipping, which one type of designed question mirrors. We evaluate the scores by the answers they select, not as calibrated probabilities.
Multimodal search agents gather evidence from the open web and reason over incomplete observations. While recent benchmarks heavily involve image retrieval and inspection, visual evidence often serves as a superficial component rather than a driver for compositional or cross-modal validation reasoning. As a result, agents can succeed without intensive reasoning, leaving intermediate inference untested. To bridge this gap, we introduce CruxSearch, a benchmark of 223 tasks featuring a Reasoning-in-the-Loop design that demands intensive reasoning throughout the search process. The benchmark spans four task families: Correction, Reduction, Clue Unification, and X-View Closure. These tasks respectively involve correcting factual image edits through web-based verification, narrowing candidate sets via visual constraints, connecting independent clues through shared entities or events, and aligning complementary views. Experiments across 19 proprietary and open-source models show that current agents remain far from solving reasoning-intensive multimodal search, with even the top-performing Claude-Opus-5.5 achieving only 62.78% accuracy. These results underscore persistent challenges in iterative visual seeking, candidate refinement, and cross-modal verification.
Robotic interaction involves interpreting descriptions of a target relative to different objects and reference frames, yet recognizing one valid description does not establish complete recognition. We introduce CoSpatial-Bench to evaluate relational completeness in vision-language models (VLMs), requiring them to select all and only valid descriptions of one target from a supplied candidate set spanning different spatial relations and reference objects. Valid descriptions must answer the question under the applicable reference frame, with all material claims supported by visual evidence. Across 13 VLMs, the highest exact-match accuracy on the original (Base) benchmark is 33.13% in our main evaluation setting. On 53.9% of multi-answer Base questions, Gemini 3.8 Flash selects only valid descriptions but omits other valid ones. Equal exact-match scores also conceal different balances of omissions and false selections. A six-model diagnostic study finds that omissions persist under caption-supported retries; qualitative analyses of recorded model explanations reveal unsupported spatial inferences, disregarded conditions, and added semantic restrictions. These omission and false-selection patterns motivate Penalized Error-Free Coverage (PEFC), a training reward that credits error-free coverage while penalizing false selections. We construct a separate training corpus for a GRPO reward comparison on Qwen3.5-4B. PEFC improves complete-set recognition and error-free coverage while reducing false selections relative to Exact Match and Error-Free Coverage rewards. Our codes are available at https://github.com/zhouzjj/CoSpatial-Bench.
Video language models (Video-LLMs) are becoming increasingly important for understanding and reasoning about visual information, supporting applications such as video question answering, video captioning, and event recognition. While they have become increasingly capable of recognizing objects, scenes, and individual actions in videos, understanding how these events unfold over time remains challenging. In particular, they often struggle to distinguish a video from the same video played backwards, revealing a weakness in their ability to capture temporal directionality. We observe that Video-LLMs encode temporal direction information in their intermediate hidden representations, yet fail to reliably express it in their predictions. To address this, we employ temporal reversal as a source of counterfactual supervision: by considering a video alongside its exact reversal, we encourage the model to distinguish predictions associated with the correct temporal ordering from those associated with the opposite ordering. We propose time-reversal on-policy distillation (TRoD), which trains a student to selectively amplify the direction-sensitive component of a frozen teacher's predictions while retaining their shared, direction-invariant information, without requiring directional labels, external rewards, or architectural changes. We provide theoretical analysis to explain how TRoD improves temporal directionality and demonstrate its effectiveness across multiple Video-LLMs, improving the average score across eight temporal benchmark measures.
We ask which coherence measures identify models and topics that distinguish the subjects in a document. To measure intra-text coherence, we propose averaging association scores for nearby words in training texts, weighting each pair occurrence by the topic's posterior probabilities at both positions. We compared 24 models in each of seven corpora, including our RWGT-2026 collection of Russian Wikipedia articles labeled by subject. We averaged topic-level coherence over each model's 20 domain-specific topics. A large language model annotated 1,300 held-out documents. Word occurrences with the same subject label in a document formed a thematic chain. Eligible chains had at least two occurrences, sufficient vocabulary coverage, and defined topic probabilities. A topic led a chain if it alone had the highest mean posterior probability over the chain's in-vocabulary positions. Keeping that topic fixed, we took its mean in the chain it led and subtracted its highest mean in any other eligible chain of the document. For model consistency with the chain annotations, we averaged all defined differences. For a topic, we averaged those from chains it led. Across corpora, posterior-weighted normalized pointwise mutual information (NPMI) had the highest mean Spearman correlation with model consistency (+0.335). The mean was -0.254 for NPMI based on each topic's ten most probable words. We ranked topics within each model by coherence and consistency, then took the median correlation for each corpus. Cosine SemantiC, which compares the topic profiles of nearby words assigned to the same topic, had the highest mean of the seven medians (+0.241). In 982 of 999 shuffles of subject labels within documents, the mean model-level correlation for weighted NPMI fell below its observed value. For cosine SemantiC, the observed mean of the seven medians lay within the central 95% of the shuffled values.
Long, coherent multi-shot audio-video generation requires more than independently generating and concatenating short clips. Each realized shot may introduce identity, action, dialogue, or audio errors that enter persistent memory and propagate to subsequent shots. Existing agentic systems provide planning, retrieval, and refinement operations, but their post-generation reactions and memory updates are typically controlled by fixed pipelines or test-time search rather than learned from requirement-level feedback. We introduce GenViC, an agentic framework that learns a Director for a Generate-Verify-Commit (GVC) decision process above a frozen memory-text-to-audio-video (MT2AV) generator. The Adaptive GVC Director Policy maps the evolving multimodal state and verification evidence to executable actions for memory selection, prompt rewriting, generation, acceptance, repair, and commitment. The State-Aware AV Verification and Memory Consolidation evaluates each candidate against visual, action, and audio requirements and admits only accepted, quality-screened results to trusted memory. The Restorable-Prefix Group Policy Optimization restores verified story prefixes and compares same-prefix current-shot trajectories using multi-dimensional rewards, avoiding expensive replay from the beginning of each story. The Director is first initialized through supervised fine-tuning on human tool-use demonstrations and is subsequently optimized with group relative policy optimization (GRPO). Across the compared methods, GenViC achieves the best overall performance, with particularly strong gains in requirement-level visual and action compliance. Human evaluation also assigns GenViC the highest multi-method preference. Demonstrations with Seedance 2.0 further suggest that the GVC decision interface can be paired with a different audio-video generator.
Domain-specific generation requires models to reproduce not only content but also the linguistic structure of specialized discourse; an ability overlooked by existing evaluation approaches. To address this gap, we develop sublanguage alignment: A linguistic evaluation method for quantifying the extent to which generated text preserves a target domain's linguistic divergence from a shared, out-of-domain human reference corpus. We measure alignment through univariate feature divergence, testing the reproduction of domain-distinguishing linguistic features, and multivariate discriminability as an exploratory analysis, testing the preservation of overall domain separation. Across regulatory biomedical documents from the European Medicines Agency in nine European languages, authentic texts exhibit a robust, partly cross-lingually stable sublanguage signal. Applying our framework to 37 LLMs under two generation settings reveals systematic departures from this signal, highlighting the relevance of such an evaluation dimension, and raising concerns about the appropriateness of synthetic data generation, especially in high-stakes domains.