From project design to end-user acculturation, frugal AI is above all a matter of best practices. Numerous and complementary, these BPs are detailed in AFNOR SPEC 2314. Here is a thematic summary.
Note: SPEC 2314 has not been translated into English yet. The translation of the Best Practices titles below is therefore GenerIA's and may differ in the final, official English version of the document.
Before developing an AI system, it is essential to define the organization's real needs, based on a few key questions. What problem does the envisioned AI need to solve? What are the objectives to be achieved? With what technical and energy resources?
A rigorous upstream assessment helps to avoid the development of superfluous solutions, and to focus resources on high value-added projects. Once the AI system has been deployed, it is equally important to put in place mechanisms to measure the effectiveness of the solution, identify areas for improvement and adjust practices accordingly.
This monitoring results from two parallel strategies:
Data quality determines the success of an AI project. AFNOR recommends giving priority to data sets that have been established as relevant, diverse and representative. It is also important to ensure that the data selected is accessible and usable without requiring excessive resources. In this respect, the use of open data and collaborative sources contributes to a more frugal approach.
To check this mark, two preparatory steps are essential:
Algorithm optimization is a key step in achieving simple, efficient models that guarantee frugal AI. This optimization involves selecting less resource-intensive algorithms and/or adapting existing algorithms to make them more efficient. It can also include porting certain calculations to languages closer to hardware (C, Rust, etc.).
AFNOR also encourages the use of techniques such as pruning and quantization (adoption of lighter numerical data types), which reduce the size of models while maintaining their performance and increasing their explainability.
Two compasses should therefore be followed:
AFNOR rightly emphasizes the importance of the choice of computing infrastructures in the energy efficiency of AI models. Indeed, in addition to the electrical specifications of the servers and processors needed for training and production, the energy efficiency (PUE) of datacenters and the specific features of the energy sources that power them (hydroelectricity, nuclear, coal...) are key factors in the environmental impact of AI. Taking them into account right from the design phase can help make deployments more virtuous.
Two main criteria are therefore to be considered:
Collaboration between the various stakeholders in the sector is essential to promote frugal AI. AFNOR encourages the dissemination and sharing of best practices, tools and resources. Partnerships between client organizations, AI makers and Academia foster innovation and minimize both costs and duplication of effort.
Such a collaboration is based on two inseparable pillars:
For best practices of frugal AI to be adopted, it is essential to raise awareness and train the teams involved in the development and use of the solutions. AFNOR proposes themes for training programs to help professionals understand the challenges of frugal AI and integrate these principles into their daily work.
Among the issues involved, two of them require particular attention:
Validation of needs, energy efficiency of infrastructures, optimization of data and algorithms, acculturation of developers and users... the best practices presented in detail in the AFNOR framework promise AI solutions that are at the same time effective, sustainable and ethical. Because they lead us to rethink advanced technologies, could some of them one day become binding regulations?
In the GenerIA blog: