Goto

Collaborating Authors

 Africa


QuickLLaMA: Query-aware Inference Acceleration for Large Language Models

arXiv.org Artificial Intelligence

The capacity of Large Language Models (LLMs) to comprehend and reason over long contexts is pivotal for advancements in diverse fields. Yet, they still stuggle with capturing long-distance dependencies within sequences to deeply understand semantics. To address this issue, we introduce Query-aware Inference for LLMs (Q-LLM), a system designed to process extensive sequences akin to human cognition. By focusing on memory data relevant to a given query, Q-LLM can accurately capture pertinent information within a fixed window size and provide precise answers to queries. It doesn't require extra training and can be seamlessly integrated with any LLMs. Q-LLM using LLaMA3 (QuickLLaMA) can read Harry Potter within 30s and accurately answer the questions. Q-LLM improved by 7.17% compared to the current state-of-the-art on LLaMA3, and by 3.26% on Mistral on the $\infty$-bench. In the Needle-in-a-Haystack task, On widely recognized benchmarks, Q-LLM improved upon the current SOTA by 7.0% on Mistral and achieves 100% on LLaMA3. Our code can be found in https://github.com/dvlab-research/Q-LLM.


'Incredibly social': Researchers make stunning find on how African elephants interact with each other

FOX News

The beloved elephant Osh has celebrated his 30th birthday with an assortment of delightful treats, including watermelons, popsicles, peanut butter and bran snow cones and even a personalized piñata. A recently-published study claims that the sounds of African elephants may have a lot more significance than humans think. The research, which was published in a journal called Nature Ecology and Evolution on Monday, found that African elephants call each other unique names. The study explains that researchers followed elephants around to observe how they communicated to each other, particularly by taking careful note of which elephants called out sounds and which elephants appeared to respond. The names came in the form of low rumbles, which elephants can hear from long distances.


Elephants seem to invent names for each other

New Scientist

Elephants may be the only animals besides humans to come up with arbitrary names for each other, according to an analysis of recordings using machine learning. The analysis found that some calls from African savannah elephants (Loxodonta africana) seem to contain name-like components specific to certain individuals. What's more, those individuals know their names, responding more strongly than others do when calls addressed to them are played back on a speaker. "I had noticed from years back that when an elephant gave a contact rumble, within a group of elephants I would see one individual lift its head, listen and give an answer," says Joyce Poole at ElephantVoices, a small organisation that studies elephants and aims to protect them. "And the rest seemed to just ignore the elephant. So I did wonder whether the calls were being directed toward a specific individual."


Scientists observe ANOTHER human-like behavior among elephants

Daily Mail - Science & tech

Scientists have observed another human-like behavior among elephants - they call each other by name. Researchers from Colorado State University (CSU) recorded 470 unique noises from elephants in Kenya, capturing different rumbles and pitches. Using machine learning, the team found the calls contained a unique tune depending on which elephant they were communicating with. To test their theory that these noises corresponded with different names, the team played them to the herds - and the elephant being named responded by returning a noise or approaching the speaker. The findings suggest elephants may be capable of abstract thinking, making them much more socially complex mammals than previously thought.


A Taxonomy of Challenges to Curating Fair Datasets

arXiv.org Artificial Intelligence

Despite extensive efforts to create fairer machine learning (ML) datasets, there remains a limited understanding of the practical aspects of dataset curation. Drawing from interviews with 30 ML dataset curators, we present a comprehensive taxonomy of the challenges and trade-offs encountered throughout the dataset curation lifecycle. Our findings underscore overarching issues within the broader fairness landscape that impact data curation. We conclude with recommendations aimed at fostering systemic changes to better facilitate fair dataset curation practices.


Can AI Beat Undergraduates in Entry-level Java Assignments? Benchmarking Large Language Models on JavaBench

arXiv.org Artificial Intelligence

Code generation benchmarks such as HumanEval are widely adopted to evaluate LLMs' capabilities. However, after consolidating the latest 24 benchmarks, we noticed three significant imbalances. First, imbalanced programming language. 95.8% of benchmarks involve Python, while only 5 benchmarks involve Java. Second, imbalanced code granularity. Function-/statement-level benchmarks account for over 83.3% of benchmarks. Only a mere handful extends to class-/project-levels, and all are limited to Python. Third, lacking advanced features. Existing benchmarks primarily assess basic coding skills, while overlooking advanced Object-Oriented Programming (OOP) features (i.e., encapsulation, inheritance, and polymorphism). To fill these gaps, we propose JavaBench, a project-level Java benchmark that exercises OOP features. It comprises four Java projects with 389 methods in 106 Java classes. The test coverage is up to 92%, and JavaBench is attested by 282 undergraduate students, reaching a 90.93/100 average score (i.e., pass rate against the test suite), ensuring the quality of documentation, code skeleton, and tests. To better evaluate LLM's capability against JavaBench, we introduce a systematic evaluation design covering three context settings and five synthesis strategies at two granularities using three hierarchical metrics. Our extensive experiment yields several interesting findings. First, we noticed that regarding project-level Java programming, LLMs are far behind undergraduate students (no project can be correctly completed by any studied LLMs, and at most 41.17% Pass@5 in a more relaxed evaluation). Second, using method signature as prompt context may strike an ideal balance for project-level code generation. JavaBench is publicly available at https://github.com/java-bench/JavaBench.


EAVE: Efficient Product Attribute Value Extraction via Lightweight Sparse-layer Interaction

arXiv.org Artificial Intelligence

Product attribute value extraction involves identifying the specific values associated with various attributes from a product profile. While existing methods often prioritize the development of effective models to improve extraction performance, there has been limited emphasis on extraction efficiency. However, in real-world scenarios, products are typically associated with multiple attributes, necessitating multiple extractions to obtain all corresponding values. In this work, we propose an Efficient product Attribute Value Extraction (EAVE) approach via lightweight sparse-layer interaction. Specifically, we employ a heavy encoder to separately encode the product context and attribute. The resulting non-interacting heavy representations of the context can be cached and reused for all attributes. Additionally, we introduce a light encoder to jointly encode the context and the attribute, facilitating lightweight interactions between them. To enrich the interaction within the lightweight encoder, we design a sparse-layer interaction module to fuse the non-interacting heavy representation into the lightweight encoder. Comprehensive evaluation on two benchmarks demonstrate that our method achieves significant efficiency gains with neutral or marginal loss in performance when the context is long and number of attributes is large. Our code is available \href{https://anonymous.4open.science/r/EAVE-EA18}{here}.


When is Multicalibration Post-Processing Necessary?

arXiv.org Artificial Intelligence

A popular approach to ensuring that probabilistic predictions from machine learning algorithms are meaningful is model calibration. Intuitively, calibration requires that amongst all samples given score p [0, 1] by an ML algorithm, exactly a p-fraction of those samples have positive label. Calibration ensures that a predictor has an accurate estimate of its own predictive uncertainty, and is a fundamental requirement in applications where probabilities may be taken into account for high-stake decisions such as disease diagnosis (Dahabreh et al., 2017) or credit/lending decisions (Bequé et al., 2017). Miscalibration can result in undesirable downstream consequences when probabilistic predictions are thresholded into decisions: if a predictor has high calibration error in disease diagnosis, for example, the individuals assigned lower predicted probabilities may be unfairly denied treatment. Calibration has a long history in the machine learning community (Guo et al., 2017; Minderer et al., 2021; Niculescu-Mizil and Caruana, 2005; Platt et al., 1999), but was arguably first introduced in fairness contexts by Cleary (1968). More recently, it has appeared in the algorithmic fairness community via the seminal works of Chouldechova (2017); Kleinberg et al. (2017). Although calibration ensures meaningful uncertainty estimates aggregated over the entire population, it does not preclude potential discrimination at the level of groups of individuals: a model may be well calibrated overall but systematically underestimate the risk or qualification probability on historically underrepresented subsets of individuals. For example, Obermeyer et al. (2019) show differing calibration error rates across groups defined by race for prediction in high-risk patient care management systems. As pointed out by Obermeyer et al. (2019), in the


Explainable Artificial Intelligence Techniques for Accurate Fault Detection and Diagnosis: A Review

arXiv.org Artificial Intelligence

With the integration of advanced technologies and automation systems in manufacturing, available data formats are evolving to include complex data streams, such as sequences of images and videos, which can provide valuable information on the state of the machines and their components. The timely identification and diagnosis of faults can prevent equipment failure, reduce maintenance costs, improve system performance, and enhance safety. In recent years, Machine Learning (ML) algorithms, including Deep Learning (DL) models, have shown great promise in automating fault detection and diagnosis tasks. However, these models are often viewed as black boxes, making it challenging to understand how they arrived at their predictions. This lack of transparency can pose a significant barrier to adopting machine learning in safety-critical applications, where the interpretability and trustworthiness of the model are essential.


Husky: A Unified, Open-Source Language Agent for Multi-Step Reasoning

arXiv.org Artificial Intelligence

Language agents perform complex tasks by using tools to execute each step precisely. However, most existing agents are based on proprietary models or designed to target specific tasks, such as mathematics or multi-hop question answering. We introduce Husky, a holistic, open-source language agent that learns to reason over a unified action space to address a diverse set of complex tasks involving numerical, tabular, and knowledge-based reasoning. Husky iterates between two stages: 1) generating the next action to take towards solving a given task and 2) executing the action using expert models and updating the current solution state. We identify a thorough ontology of actions for addressing complex tasks and curate high-quality data to train expert models for executing these actions. Our experiments show that Husky outperforms prior language agents across 14 evaluation datasets. Moreover, we introduce HuskyQA, a new evaluation set which stress tests language agents for mixed-tool reasoning, with a focus on retrieving missing knowledge and performing numerical reasoning. Despite using 7B models, Husky matches or even exceeds frontier LMs such as GPT-4 on these tasks, showcasing the efficacy of our holistic approach in addressing complex reasoning problems. Our code and models are available at https://github.com/agent-husky/Husky-v1.