Introduction to Citing Machine Learning in MLA
Properly citing machine learning models, datasets, and AI-generated outputs is essential for academic integrity and reproducibility in research. MLA (Modern Language Association) style, commonly used in humanities and some social sciences, provides principles for citing emerging technologies. This guide explains how to cite machine learning projects, tools, and generated content in MLA 9, emphasizing accuracy, transparency, and responsible attribution.
When and Why to Cite Machine Learning
You should cite a machine learning model or AI tool whenever you reference its outputs, incorporate its findings, or rely on the tool itself in your work. This includes scenarios where you use an API, a pretrained model, or a library to generate data, insights, or text. Citing machine learning helps readers verify claims, understand limitations, and contextualize potential biases, and it distinguishes your analysis from the work of others.
Basic Citation Components for Machine Learning
The core elements of an MLA citation for a machine learning resource vary by source type but generally include the following: author/creator (person or organization), title of the model or tool, version or edition, publisher or hosting platform, publication date or last update, and URL or repository identifier. For generated outputs, indicate the model name, prompt context, and date of generation to ensure transparency.
Models and Tools
For a model or tool with identifiable creators, structure the citation around authorship and availability. If no formal publisher exists, list the repository or platform. Provide version numbers when relevant, and prefer persistent identifiers such as DOIs or handles. For downloaded or locally hosted tools without a central publisher, treat the repository or institutional source as the publisher.
Generated Text and Outputs
When citing text, code, or media produced by a machine learning system, treat the model as an author and clearly mark it as an AI-generated output. Include a description of the prompt or task, the model name, and the date of generation. If you edit or substantially modify the output, note your changes to maintain transparency.
MLA Citation Templates and Examples
The following templates show core structures adapted to common machine learning sources. Replace placeholders with specific details from the resource you are citing.
Model or Tool on a Repository
Template: Creator Last, First. "Title of Model or Tool." Platform, Publisher (if any), Date. URL. Accessed Date.
Example: Abnar, Sam. "Image Segmentation Model." GitHub, GitHub, 12 Mar. 2023, github.com/example/segmodel. Accessed 8 Jan. 2025.
API-Based or Cloud Service
Template: Creator or Organization. "Service Name." Platform, Publisher, Date. URL. Accessed Date.
Example: OpenAI. "GPT-4 API." OpenAI, openai.com/gpt-4. Accessed 8 Jan. 2025.
Generated Text or Code
Template: "Title or Description of Output." AI Model Name, Version (if known), Prompt Summary. Date of Generation.
Example: "Analysis of Climate Policy Impacts." GPT-4, summary generation task, 15 Nov. 2024.
MLA In-Text Citations for Machine Learning
In-text citations should lead readers to the full entry and clarify the origin of AI-derived content. Use the creator or organization name, or a shortened title if needed. For generated outputs, include the model name and, when helpful, a short descriptor.
Model or Tool
According to the TensorFlow team, automated evaluation can support but not replace expert review (TensorFlow). Alternatively: (TensorFlow Team).
Generated Output
An AI-assisted summary framed the findings as follows (GPT-4 "Analysis of Climate Policy Impacts").
Best Practices and Common Pitfalls
Prioritize stable versions, persistent identifiers, and detailed context when documenting machine learning sources. Avoid citing ephemeral demos, omitting version or prompt details, or treating model outputs as authoritative evidence without critical evaluation. When in doubt, provide more context rather than less, and align with any discipline-specific guidance from your institution or publisher.
Quick Reference: Common Source Types
The table below summarizes how to approach key machine learning sources in MLA style.
| Source Type | What to Include | Notes |
|---|---|---|
| Pretrained model (repository) | Creator, title, platform, version, date, URL | Favor repositories with DOIs or versioning |
| Cloud API or SaaS tool | Organization, service name, platform, date, URL | Cite the service, not the individual API calls |
| AI-generated text or code | Description, model name, prompt context, date | Disclose edits and human review |
| Dataset used for training or evaluation | Creator, title, version, publisher, date, URL | Distinguish between training and evaluation datasets |