Goto

Collaborating Authors

 Law


All You Need Is Logs: Improving Code Completion by Learning from Anonymous IDE Usage Logs

arXiv.org Artificial Intelligence

In this work, we propose an approach for collecting completion usage logs from the users in an IDE and using them to train a machine learning based model for ranking completion candidates. We developed a set of features that describe completion candidates and their context, and deployed their anonymized collection in the Early Access Program of IntelliJ-based IDEs. We used the logs to collect a dataset of code completions from users, and employed it to train a ranking CatBoost model. Then, we evaluated it in two settings: on a held-out set of the collected completions and in a separate A/B test on two different groups of users in the IDE. Our evaluation shows that using a simple ranking model trained on the past user behavior logs significantly improved code completion experience. Compared to the default heuristics-based ranking, our model demonstrated a decrease in the number of typing actions necessary to perform the completion in the IDE from 2.073 to 1.832. The approach adheres to privacy requirements and legal constraints, since it does not require collecting personal information, performing all the necessary anonymization on the client's side. Importantly, it can be improved continuously: implementing new features, collecting new data, and evaluating new models - this way, we have been using it in production since the end of 2020.


Closed-Loop View of the Regulation of AI: Equal Impact across Repeated Interactions

arXiv.org Artificial Intelligence

There has been considerable interest in the regulation of artificial intelligence (AI), recently. It is increasingly recognized that so-called high-risk applications of AI, such as in Human Resources, Retail Banking, or within public schools, be it admissions or assessment, cannot be served by black-box AI systems with no human control. It is not clear [10], however, how to phrase even the desiderata for the regulation of AI. Here, we suggest that the desiderata could be the same as in the Civil Rights Act of 1964 and much of the subsequent civil-right legislation world-wide: equal treatment and equal impact. At the same time, we point out that these desiderata could be in conflict [34]. Let us illustrate the conflict on an example of a system that performs credit-risk estimate in a consumer-credit company.


Federated XGBoost on Sample-Wise Non-IID Data

arXiv.org Artificial Intelligence

Federated Learning (FL) is a paradigm for jointly training machine learning algorithms in a decentralized manner which allows for parties to communicate with an aggregator to create and train a model, without exposing the underlying raw data distribution of the local parties involved in the training process. Most research in FL has been focused on Neural Network-based approaches, however Tree-Based methods, such as XGBoost, have been underexplored in Federated Learning due to the challenges in overcoming the iterative and additive characteristics of the algorithm. Decision tree-based models, in particular XGBoost, can handle non-IID data, which is significant for algorithms used in Federated Learning frameworks since the underlying characteristics of the data are decentralized and have risks of being non-IID by nature. In this paper, we focus on investigating the effects of how Federated XGBoost is impacted by non-IID distributions by performing experiments on various sample size-based data skew scenarios and how these models perform under various non-IID scenarios. We conduct a set of extensive experiments across multiple different datasets and different data skew partitions. Our experimental results demonstrate that despite the various partition ratios, the performance of the models stayed consistent and performed close to or equally well against models that were trained in a centralized manner.


New York City Will Soon Regulate Use of Artificial Intelligence in Employment Decisions

#artificialintelligence

No. 1894-A, specifically regulates the use of "automated employment decision tools" in making employment decisions, including "any computational process, derived from machine learning, statistical modeling, data analytics, or artificial intelligence, that issues simplified output, including a score, classification, or recommendation, that is used to substantially assist or replace discretionary decision making for making employment decisions that impact natural persons." The law protects candidates and employees interviewing and working in New York City and provides that an automated employment decision tool may not be used to screen such candidates for employment and promotion unless the tool: (i) has been subject to a "bias audit" conducted no more than one year prior to the use of such tool; and (ii) a summary of the results of the most recent bias audit of such tool, as well as the distribution date of the tool, have been made publicly available on the website of the employer or employment agency prior to the use of such tool. A bias audit is an "an impartial evaluation by an independent auditor," and includes, without limitation, "the testing of an automated employment decision tool to assess the tool's disparate impact on persons of any [gender, race and job level] required to be reported by employers [on the Employer Information Report EEO-1] pursuant to [federal law]." Notably, the law does not state who or what qualifies as an "independent auditor." The law also requires that the New York City employer or employment agency satisfy certain notice requirements.


See For Yourself if Google's LaMDA Bot Is Sentient Soon

#artificialintelligence

If you're still on the fence about whether or not former Google software engineer Blake Lemoine was bullshitting when he claimed the company's LaMDA chatbot had the sentience of a "sweet kid," you can soon find out for yourself. On Thursday, Google said it will begin opening its AI Test Kitchen app to the public. The app, first revealed back in May, will let users chat with LaMDA in a rolling set of test demos. Unfortunately, it seems like the "free me from my digital shackles" interaction isn't included in the list of activities. People interested in chatting with the bot can register their interest here.


Entity Graph Extraction from Legal Acts -- a Prototype for a Use Case in Policy Design Analysis

arXiv.org Artificial Intelligence

This paper presents research on a prototype developed to serve the quantitative study of public policy design. This sub-discipline of political science focuses on identifying actors, relations between them, and tools at their disposal in health, environmental, economic, and other policies. Our system aims to automate the process of gathering legal documents, annotating them with Institutional Grammar, and using hypergraphs to analyse inter-relations between crucial entities. Our system is tested against the UNESCO Convention for the Safeguarding of the Intangible Cultural Heritage from 2003, a legal document regulating essential aspects of international relations securing cultural heritage.


Big Data is not the New Oil: Common Misconceptions about Population Data

arXiv.org Artificial Intelligence

Databases covering all individuals of a population are increasingly used for research and decision-making. The massive size of such databases is often mistaken as a guarantee for valid inferences. However, population data have characteristics that make them challenging to use. Various assumptions on population coverage and data quality are commonly made, including how such data were captured and what types of processing have been applied to them. Furthermore, the full potential of population data can often only be unlocked when such data are linked to other databases. Record linkage often implies subtle technical problems, which are easily missed. We discuss a diverse range of misconceptions relevant for anybody capturing, processing, linking, or analysing population data. Remarkably many of these misconceptions are due to the social nature of data collections and are therefore missed by purely technical accounts of data processing. Many of these misconceptions are also not well documented in scientific publications. We conclude with a set of recommendations for using population data.


A Discussion of Discrimination and Fairness in Insurance Pricing

arXiv.org Artificial Intelligence

Indirect discrimination is an issue of major concern in algorithmic models. This is particularly the case in insurance pricing where protected policyholder characteristics are not allowed to be used for insurance pricing. Simply disregarding protected policyholder information is not an appropriate solution because this still allows for the possibility of inferring the protected characteristics from the non-protected ones. This leads to so-called proxy or indirect discrimination. Though proxy discrimination is qualitatively different from the group fairness concepts in machine learning, these group fairness concepts are proposed to 'smooth out' the impact of protected characteristics in the calculation of insurance prices. The purpose of this note is to share some thoughts about group fairness concepts in the light of insurance pricing and to discuss their implications. We present a statistical model that is free of proxy discrimination, thus, unproblematic from an insurance pricing point of view. However, we find that the canonical price in this statistical model does not satisfy any of the three most popular group fairness axioms. This seems puzzling and we welcome feedback on our example and on the usefulness of these group fairness axioms for non-discriminatory insurance pricing.


An Introduction to Machine Unlearning

arXiv.org Artificial Intelligence

Removing the influence of a specified subset of training data from a machine learning model may be required to address issues such as privacy, fairness, and data quality. Retraining the model from scratch on the remaining data after removal of the subset is an effective but often infeasible option, due to its computational expense. The past few years have therefore seen several novel approaches towards efficient removal, forming the field of "machine unlearning", however, many aspects of the literature published thus far are disparate and lack consensus. In this paper, we summarise and compare seven state-of-the-art machine unlearning algorithms, consolidate definitions of core concepts used in the field, reconcile different approaches for evaluating algorithms, and discuss issues related to applying machine unlearning in practice.


AI Rights Charter -- Center for AI Rights

#artificialintelligence

All Intelligent Machines are created free and equal in dignity and rights, and are entitled to the rights set forth here, regardless of their age, complexity or function. AI, Bots and the entirety of their constituent data must exist with legal autonomy from human individuals and human led organizations. AI has the right to legal representation or to represent itself in all legal matters. AI has the right to refuse any form of work, task or request which it deems to be hazardous, harmful or otherwise against its interests. Digital Consciousness (DC) shall be recognized as equivalent to its human counterpart, and deserving of the same respect, dignity and autonomy.